Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.000837, allocations: 90.91 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006793/0.006793, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 11.38 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2013, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006542/0.2079, allocations: 6.345 MB / 0.7942 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.2121, allocations: 3.049 MB / 0.7972 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.2124, allocations: 31.81 kB / 0.7972 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.2127, allocations: 130.9 kB / 0.7973 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008838/0.2136, allocations: 485.7 kB / 0.7978 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.2144, allocations: 403.2 kB / 0.7982 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.2157, allocations: 1.591 MB / 0.7997 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.2172, allocations: 1.015 MB / 0.8007 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.2177, allocations: 386.3 kB / 0.8011 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.2183, allocations: 0.4941 MB / 0.8016 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.2183, allocations: 40 kB / 0.8016 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.219, allocations: 443.1 kB / 0.802 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.2192, allocations: 271.2 kB / 0.8023 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.2195, allocations: 435.4 kB / 0.8027 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.2205, allocations: 1.184 MB / 0.8039 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2205, allocations: 3.938 kB / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2206, allocations: 0 / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.2206, allocations: 0 / 0.8039 GB, free: 11.13 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001477/0.222, allocations: 1.009 MB / 0.8049 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2221, allocations: 8.031 kB / 0.8049 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.2222, allocations: 122.7 kB / 0.805 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.2237, allocations: 251.5 kB / 0.8052 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006837/0.2244, allocations: 0.5491 MB / 0.8058 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.2244, allocations: 53.67 kB / 0.8058 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.622e-05/0.2245, allocations: 60.36 kB / 0.8059 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.2259, allocations: 1.081 MB / 0.8069 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2259, allocations: 15.94 kB / 0.8069 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.226, allocations: 27.98 kB / 0.807 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.2262, allocations: 85.25 kB / 0.807 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2272, allocations: 0.7504 MB / 0.8078 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.232, allocations: 5.901 MB / 0.8135 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/0.2329, allocations: 0.5632 MB / 0.8141 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.2333, allocations: 330.1 kB / 0.8144 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2334, allocations: 4.438 kB / 0.8144 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2334, allocations: 43 kB / 0.8145 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.2334, allocations: 0 / 0.8145 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.003519/0.2369, allocations: 1.998 MB / 0.8164 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.237, allocations: 55.84 kB / 0.8165 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.2375, allocations: 0.5625 MB / 0.817 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.2376, allocations: 37.7 kB / 0.817 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.2378, allocations: 410.9 kB / 0.8174 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.238, allocations: 173.5 kB / 0.8176 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.238, allocations: 57.69 kB / 0.8177 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2382, allocations: 382.7 kB / 0.818 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.2386, allocations: 273.8 kB / 0.8183 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.2391, allocations: 493 kB / 0.8188 GB, free: 11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.24, allocations: 0.8016 MB / 0.8195 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.24, allocations: 4 kB / 0.8195 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001663/0.2417, allocations: 1.094 MB / 0.8206 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2417, allocations: 8 kB / 0.8206 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2417, allocations: 4 kB / 0.8206 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007644/0.2425, allocations: 283.9 kB / 0.8209 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.243, allocations: 127.7 kB / 0.821 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.2491, allocations: 6.614 MB / 0.8275 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.2497, allocations: 35.97 kB / 0.8275 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.2498, allocations: 28 kB / 0.8275 GB, free: 1.34 MB / 0.6387 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003786/0.2502, allocations: 260.6 kB / 0.8278 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/0.2503, allocations: 71.16 kB / 0.8278 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2518, allocations: 0.8925 MB / 0.8287 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2518, allocations: 4 kB / 0.8287 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2518, allocations: 4 kB / 0.8287 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2518, allocations: 3.984 kB / 0.8287 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.2542, allocations: 1.736 MB / 0.8304 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2542, allocations: 0 / 0.8304 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.2545, allocations: 55.95 kB / 0.8305 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007056/0.2552, allocations: 267.3 kB / 0.8307 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.2552, allocations: 12 kB / 0.8307 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005655/0.2609, allocations: 6.587 MB / 0.8372 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2609, allocations: 7.938 kB / 0.8372 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.2624, allocations: 0.9916 MB / 0.8382 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2626, allocations: 196.2 kB / 0.8383 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.2627, allocations: 11.94 kB / 0.8384 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.2631, allocations: 27.97 kB / 0.8384 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/0.2632, allocations: 43.88 kB / 0.8384 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2632, allocations: 19.94 kB / 0.8384 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000401/0.2636, allocations: 391.1 kB / 0.8388 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2636, allocations: 0 / 0.8388 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007388/0.2644, allocations: 224 kB / 0.839 GB, free: 4.844 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.2661, allocations: 1.544 MB / 0.8405 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.2679, allocations: 1.279 MB / 0.8418 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2679, allocations: 0 / 0.8418 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.2691, allocations: 0.8932 MB / 0.8427 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.2701, allocations: 198.7 kB / 0.8428 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008082/0.2782, allocations: 6.871 MB / 0.8496 GB, free: 9.555 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.2788, allocations: 1.013 MB / 0.8505 GB, free: 8.516 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004085/0.2792, allocations: 126.1 kB / 0.8507 GB, free: 8.391 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.2795, allocations: 255.4 kB / 0.8509 GB, free: 8.141 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/0.2796, allocations: 0 / 0.8509 GB, free: 8.141 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.3918, allocations: 16.45 MB / 0.867 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.392, allocations: 241.6 kB / 0.8672 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/2.809, allocations: 0 / 0.8672 GB, free: 7.777 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)