Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001606/0.001606, allocations: 190 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001082/0.001082, allocations: 88.86 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006496/0.0006498, allocations: 12.17 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9664/1.182, allocations: 163.5 MB / 1.138 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.182, allocations: 95.16 kB / 1.138 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1406/1.323, allocations: 37.12 MB / 1.174 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.323, allocations: 3.938 kB / 1.174 GB, free: 4.184 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000104/1.323, allocations: 24 kB / 1.174 GB, free: 4.16 MB / 0.698 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.003727/1.327, allocations: 1.048 MB / 1.175 GB, free: 3.113 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/1.327, allocations: 20.02 kB / 1.175 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004302/1.327, allocations: 120.9 kB / 1.175 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/1.33, allocations: 246.5 kB / 1.176 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/1.332, allocations: 0.5365 MB / 1.176 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/1.332, allocations: 51.48 kB / 1.176 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/1.332, allocations: 65.62 kB / 1.176 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/1.334, allocations: 1.138 MB / 1.177 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/1.335, allocations: 3.938 kB / 1.177 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.335, allocations: 36.17 kB / 1.177 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001162/1.335, allocations: 52.97 kB / 1.178 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/1.337, allocations: 0.7534 MB / 1.178 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/1.346, allocations: 5.911 MB / 1.184 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/1.348, allocations: 0.5508 MB / 1.185 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/1.348, allocations: 8.438 kB / 1.185 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.348, allocations: 38.88 kB / 1.185 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.587e-06/1.348, allocations: 0 / 1.185 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.006748/1.355, allocations: 1.983 MB / 1.187 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.355, allocations: 59.84 kB / 1.187 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/1.356, allocations: 0.4927 MB / 1.187 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/1.356, allocations: 36.58 kB / 1.187 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/1.356, allocations: 404.5 kB / 1.187 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.357, allocations: 170.3 kB / 1.188 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/1.357, allocations: 14 kB / 1.188 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.357, allocations: 370.8 kB / 1.188 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/1.358, allocations: 271.7 kB / 1.188 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/1.359, allocations: 466.1 kB / 1.189 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/1.36, allocations: 338.4 kB / 1.189 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.36, allocations: 0 / 1.189 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00339/1.363, allocations: 1.058 MB / 1.19 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/1.363, allocations: 8.094 kB / 1.19 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/1.363, allocations: 8 kB / 1.19 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.365, allocations: 272 kB / 1.19 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.366, allocations: 119.2 kB / 1.19 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.382, allocations: 6.703 MB / 1.197 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.383, allocations: 41.08 kB / 1.197 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.383, allocations: 30.86 kB / 1.197 GB, free: 14.9 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008577/1.384, allocations: 249.5 kB / 1.197 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/1.385, allocations: 75.09 kB / 1.197 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/1.388, allocations: 0.8849 MB / 1.198 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.388, allocations: 8 kB / 1.198 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/1.388, allocations: 4 kB / 1.198 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.388, allocations: 0 / 1.198 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/1.394, allocations: 1.726 MB / 1.2 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.394, allocations: 0 / 1.2 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/1.395, allocations: 59.91 kB / 1.2 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.397, allocations: 270 kB / 1.2 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/1.397, allocations: 10.19 kB / 1.2 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.411, allocations: 6.699 MB / 1.207 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.411, allocations: 0 / 1.207 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003703/1.414, allocations: 1.048 MB / 1.208 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/1.415, allocations: 195.7 kB / 1.208 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.415, allocations: 9.812 kB / 1.208 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009174/1.416, allocations: 35.22 kB / 1.208 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.417, allocations: 35.64 kB / 1.208 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/1.417, allocations: 18.75 kB / 1.208 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00109/1.418, allocations: 389.7 kB / 1.209 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.052e-06/1.418, allocations: 0 / 1.209 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003092/1.421, allocations: 229.2 kB / 1.209 GB, free: 4.137 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004896/1.426, allocations: 2.031 MB / 1.211 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004793/1.431, allocations: 1.255 MB / 1.212 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.431, allocations: 0 / 1.212 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.434, allocations: 0.8934 MB / 1.213 GB, free: 404 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.436, allocations: 195.9 kB / 1.213 GB, free: 252 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.454, allocations: 8.309 MB / 1.221 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/1.455, allocations: 1.024 MB / 1.222 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001054/1.456, allocations: 126 kB / 1.222 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.457, allocations: 251.5 kB / 1.222 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of SimCode: time 1.363e-06/1.457, allocations: 0 / 1.222 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/1.531, allocations: 16.37 MB / 1.238 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003667/1.531, allocations: 215.4 kB / 1.239 GB, free: 7.004 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.064/4.595, allocations: 3.5 kB / 1.239 GB, free: 7.004 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)