Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001272/0.001272, allocations: 180.9 kB / 366.7 MB, free: 1.66 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.541/1.541, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009045, allocations: 93.89 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.214e-05, allocations: 8 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6209/0.6209, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/0.8417, allocations: 162.6 MB / 1.132 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.842, allocations: 91.94 kB / 1.132 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2177/1.06, allocations: 85.88 MB / 1.216 GB, free: 12.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.453e-06/1.06, allocations: 0 / 1.216 GB, free: 12.84 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001181/1.06, allocations: 43.98 kB / 1.216 GB, free: 12.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002704/1.063, allocations: 1.537 MB / 1.218 GB, free: 11.21 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.063, allocations: 11.97 kB / 1.218 GB, free: 11.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/1.067, allocations: 0.6222 MB / 1.218 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/1.069, allocations: 0.888 MB / 1.219 GB, free: 9.645 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/1.069, allocations: 44 kB / 1.219 GB, free: 9.602 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.069, allocations: 75.98 kB / 1.219 GB, free: 9.527 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002212/1.071, allocations: 1.348 MB / 1.221 GB, free: 8.176 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/1.074, allocations: 2.105 MB / 1.223 GB, free: 5.773 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/1.074, allocations: 15.88 kB / 1.223 GB, free: 5.758 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/1.074, allocations: 12 kB / 1.223 GB, free: 5.746 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/1.075, allocations: 142.3 kB / 1.223 GB, free: 5.605 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/1.087, allocations: 12.21 MB / 1.235 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/1.091, allocations: 1.806 MB / 1.236 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/1.091, allocations: 0.5708 MB / 1.237 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/1.092, allocations: 106.4 kB / 1.237 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.092, allocations: 47.86 kB / 1.237 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 3.918e-06/1.092, allocations: 0 / 1.237 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.005083/1.097, allocations: 2.407 MB / 1.24 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.097, allocations: 64.72 kB / 1.24 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009135/1.098, allocations: 0.6522 MB / 1.24 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/1.098, allocations: 25.7 kB / 1.24 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/1.098, allocations: 0.7198 MB / 1.241 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/1.099, allocations: 366.5 kB / 1.241 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/1.099, allocations: 0 / 1.241 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.099, allocations: 369.8 kB / 1.242 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/1.1, allocations: 0.5584 MB / 1.242 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/1.101, allocations: 0.9895 MB / 1.243 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/1.103, allocations: 0.8531 MB / 1.244 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.103, allocations: 4 kB / 1.244 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003617/1.106, allocations: 2.001 MB / 1.246 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.106, allocations: 8 kB / 1.246 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/1.107, allocations: 16 kB / 1.246 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/1.107, allocations: 255.4 kB / 1.246 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.109, allocations: 355.4 kB / 1.247 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/1.117, allocations: 10.32 MB / 1.257 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.119, allocations: 99.91 kB / 1.257 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.119, allocations: 60 kB / 1.257 GB, free: 0.5664 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002938/1.119, allocations: 152.5 kB / 1.257 GB, free: 420 kB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4975/1.617, allocations: 1.47 MB / 1.258 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/1.617, allocations: 120.6 kB / 1.258 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/1.621, allocations: 1.638 MB / 1.26 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/1.621, allocations: 11.53 kB / 1.26 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/1.621, allocations: 4.75 kB / 1.26 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.621, allocations: 6.578 kB / 1.26 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005644/1.626, allocations: 3.047 MB / 1.263 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.626, allocations: 6 kB / 1.263 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/1.627, allocations: 225.3 kB / 1.263 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/1.628, allocations: 240.3 kB / 1.264 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/1.628, allocations: 7.844 kB / 1.264 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006593/1.635, allocations: 10.29 MB / 1.274 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/1.635, allocations: 7.719 kB / 1.274 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/1.638, allocations: 2.042 MB / 1.276 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/1.639, allocations: 320.8 kB / 1.276 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.639, allocations: 9.094 kB / 1.276 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/1.64, allocations: 76.44 kB / 1.276 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.64, allocations: 97.58 kB / 1.276 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/1.64, allocations: 35.16 kB / 1.276 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007046/1.641, allocations: 0.4887 MB / 1.277 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.641, allocations: 0 / 1.277 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001598/1.642, allocations: 348.9 kB / 1.277 GB, free: 195.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003648/1.646, allocations: 4.118 MB / 1.281 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003419/1.649, allocations: 2.298 MB / 1.283 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.649, allocations: 3.531 kB / 1.283 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/1.651, allocations: 1.532 MB / 1.285 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.653, allocations: 287.7 kB / 1.285 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/1.658, allocations: 2.377 MB / 1.287 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.659, allocations: 1.361 MB / 1.289 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001229/1.66, allocations: 344.5 kB / 1.289 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/1.661, allocations: 0.5194 MB / 1.289 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of SimCode: time 7.32e-07/1.661, allocations: 0 / 1.289 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/1.731, allocations: 24.82 MB / 1.314 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.731, allocations: 161.3 kB / 1.314 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/4.592, allocations: 4 kB / 1.314 GB, free: 188 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)