Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.2 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 178 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6305 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 106.8 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003859, allocations: 15.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.009828/0.2131, allocations: 11.9 MB / 0.9911 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009819/0.2229, allocations: 8.643 MB / 0.9995 GB, free: 7.004 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.2244, allocations: 43.69 kB / 0.9996 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.225, allocations: 250.3 kB / 0.9998 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.2287, allocations: 1.261 MB / 1.001 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.2301, allocations: 0.5295 MB / 1.002 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.232, allocations: 1.522 MB / 1.003 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.2347, allocations: 1.796 MB / 1.005 GB, free: 1.566 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.2361, allocations: 0.7629 MB / 1.006 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.2371, allocations: 0.8367 MB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2373, allocations: 75.94 kB / 1.006 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.2384, allocations: 387.5 kB / 1.007 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.2388, allocations: 478.5 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.2391, allocations: 348.8 kB / 1.008 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.2411, allocations: 2.069 MB / 1.01 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2411, allocations: 0 / 1.01 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2411, allocations: 0 / 1.01 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.756e-05/0.2411, allocations: 0 / 1.01 GB, free: 12.62 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003167/0.2443, allocations: 1.82 MB / 1.011 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2444, allocations: 11.97 kB / 1.011 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.2446, allocations: 194.2 kB / 1.012 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.2555, allocations: 2.158 MB / 1.014 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.2586, allocations: 1.154 MB / 1.015 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.2587, allocations: 90.36 kB / 1.015 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.259, allocations: 120 kB / 1.015 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005656/0.2647, allocations: 2.682 MB / 1.018 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.2648, allocations: 11.84 kB / 1.018 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.2649, allocations: 51.98 kB / 1.018 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000664/0.2656, allocations: 186.1 kB / 1.018 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007591/0.2732, allocations: 2.834 MB / 1.021 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.2889, allocations: 10.57 MB / 1.031 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00719/0.2961, allocations: 2.577 MB / 1.033 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.2963, allocations: 9 kB / 1.034 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.2964, allocations: 43.56 kB / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.386e-06/0.2964, allocations: 0 / 1.034 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.04424/0.3406, allocations: 13.43 MB / 1.047 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3407, allocations: 68.66 kB / 1.047 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3421, allocations: 1.105 MB / 1.048 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.3423, allocations: 45.7 kB / 1.048 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.3428, allocations: 0.7194 MB / 1.049 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/0.3433, allocations: 457.4 kB / 1.049 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3434, allocations: 32 kB / 1.049 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3435, allocations: 357.9 kB / 1.049 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/0.3468, allocations: 1.35 MB / 1.051 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.3502, allocations: 1.616 MB / 1.052 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/0.3535, allocations: 1.454 MB / 1.054 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3536, allocations: 4 kB / 1.054 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01172/0.3653, allocations: 4.466 MB / 1.058 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.3654, allocations: 8 kB / 1.058 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.3654, allocations: 11.94 kB / 1.058 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.3705, allocations: 1.428 MB / 1.059 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/0.3726, allocations: 459.2 kB / 1.06 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4572/0.8298, allocations: 24.98 MB / 1.084 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/0.8337, allocations: 312.7 kB / 1.085 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000457/0.8342, allocations: 63.84 kB / 1.085 GB, free: 70.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.8355, allocations: 437.6 kB / 1.085 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/0.8361, allocations: 168.9 kB / 1.085 GB, free: 70 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.849, allocations: 4.48 MB / 1.09 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.849, allocations: 12.91 kB / 1.09 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.891e-05/0.8491, allocations: 17.28 kB / 1.09 GB, free: 68.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.8491, allocations: 10.42 kB / 1.09 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.8651, allocations: 6.803 MB / 1.096 GB, free: 66.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.8651, allocations: 3.125 kB / 1.096 GB, free: 66.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/0.8672, allocations: 391.2 kB / 1.097 GB, free: 66.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004749/0.872, allocations: 1.306 MB / 1.098 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.8722, allocations: 40.23 kB / 1.098 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02039/0.8926, allocations: 23.98 MB / 1.121 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8926, allocations: 7.906 kB / 1.121 GB, free: 45.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.9028, allocations: 4.384 MB / 1.126 GB, free: 43.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/0.9043, allocations: 458.8 kB / 1.126 GB, free: 42.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.9046, allocations: 23.47 kB / 1.126 GB, free: 42.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.9067, allocations: 319.5 kB / 1.126 GB, free: 42.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006399/0.9074, allocations: 134.2 kB / 1.127 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.9075, allocations: 47.78 kB / 1.127 GB, free: 42.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001294/0.9088, allocations: 0.7421 MB / 1.127 GB, free: 42.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9089, allocations: 0 / 1.127 GB, free: 42.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002949/0.9118, allocations: 0.5669 MB / 1.128 GB, free: 42.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01157/0.9234, allocations: 5.701 MB / 1.133 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01078/0.9342, allocations: 5.145 MB / 1.138 GB, free: 34.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.9343, allocations: 5.312 kB / 1.138 GB, free: 34.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006837/0.9411, allocations: 3.508 MB / 1.142 GB, free: 32.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.9437, allocations: 0.489 MB / 1.142 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03064/0.9743, allocations: 18.85 MB / 1.161 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/0.9754, allocations: 1.508 MB / 1.162 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001918/0.9773, allocations: 425.6 kB / 1.163 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/0.9781, allocations: 0.6304 MB / 1.163 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/0.9781, allocations: 0 / 1.163 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08145/1.06, allocations: 49.7 MB / 1.212 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.06, allocations: 229 kB / 1.212 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.651/4.711, allocations: 0 / 1.212 GB, free: 11.79 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)