Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.402/2.402, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001497/0.001497, allocations: 184.9 kB / 360.6 MB, free: 7.293 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.352/2.352, allocations: 205.3 MB / 0.6191 GB, free: 12.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.001027/0.001027, allocations: 92.73 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.423e-05, allocations: 4 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8271, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3318/1.159, allocations: 179 MB / 1.138 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/1.159, allocations: 92.75 kB / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3626/1.522, allocations: 77.23 MB / 1.214 GB, free: 11.45 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/1.522, allocations: 0 / 1.214 GB, free: 11.45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002152/1.522, allocations: 32 kB / 1.214 GB, free: 11.42 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005227/1.528, allocations: 1.54 MB / 1.215 GB, free: 9.828 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.528, allocations: 12.03 kB / 1.215 GB, free: 9.816 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/1.547, allocations: 1.811 MB / 1.217 GB, free: 8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/1.552, allocations: 1.142 MB / 1.218 GB, free: 6.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/1.552, allocations: 40 kB / 1.218 GB, free: 6.762 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/1.552, allocations: 67.91 kB / 1.218 GB, free: 6.695 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004585/1.557, allocations: 1.438 MB / 1.22 GB, free: 5.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/1.562, allocations: 1.876 MB / 1.222 GB, free: 3.195 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.266e-05/1.562, allocations: 7.938 kB / 1.222 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/1.563, allocations: 4 kB / 1.222 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/1.563, allocations: 78.16 kB / 1.222 GB, free: 3.105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02399/1.587, allocations: 9.928 MB / 1.231 GB, free: 8.527 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/1.59, allocations: 1.107 MB / 1.232 GB, free: 7.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/1.592, allocations: 0.5799 MB / 1.233 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.745e-05/1.592, allocations: 8.422 kB / 1.233 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.592, allocations: 43 kB / 1.233 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 4.348e-06/1.592, allocations: 4 kB / 1.233 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.01924/1.611, allocations: 3.877 MB / 1.237 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/1.611, allocations: 222.4 kB / 1.237 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/1.614, allocations: 0.7421 MB / 1.238 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003224/1.614, allocations: 25.7 kB / 1.238 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.615, allocations: 0.7485 MB / 1.238 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006163/1.616, allocations: 268 kB / 1.239 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.616, allocations: 0 / 1.239 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002316/1.616, allocations: 341.9 kB / 1.239 GB, free: 428 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/1.619, allocations: 0.6703 MB / 1.24 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/1.622, allocations: 0.915 MB / 1.241 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003319/1.625, allocations: 0.7737 MB / 1.241 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/1.625, allocations: 4 kB / 1.241 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01248/1.638, allocations: 2.424 MB / 1.244 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/1.638, allocations: 8.75 kB / 1.244 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.638, allocations: 8 kB / 1.244 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007608/1.645, allocations: 0.8379 MB / 1.245 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005253/1.651, allocations: 419.3 kB / 1.245 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6566/2.307, allocations: 14.31 MB / 1.259 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/2.312, allocations: 289.2 kB / 1.259 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/2.312, allocations: 47.23 kB / 1.259 GB, free: 206.6 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003995/2.312, allocations: 136.2 kB / 1.259 GB, free: 206.5 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008379/2.321, allocations: 2.226 MB / 1.262 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/2.322, allocations: 129.6 kB / 1.262 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008733/2.33, allocations: 2.423 MB / 1.264 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/2.33, allocations: 11.72 kB / 1.264 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/2.33, allocations: 8.406 kB / 1.264 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/2.33, allocations: 3.422 kB / 1.264 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/2.343, allocations: 4.019 MB / 1.268 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/2.343, allocations: 5.75 kB / 1.268 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/2.346, allocations: 362 kB / 1.268 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004909/2.351, allocations: 0.7644 MB / 1.269 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/2.352, allocations: 17.7 kB / 1.269 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/2.372, allocations: 13.92 MB / 1.283 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/2.372, allocations: 6.656 kB / 1.283 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008314/2.381, allocations: 2.419 MB / 1.285 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/2.382, allocations: 375.2 kB / 1.285 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004727/2.383, allocations: 8.359 kB / 1.285 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/2.387, allocations: 295.4 kB / 1.286 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/2.387, allocations: 79.66 kB / 1.286 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/2.387, allocations: 38.28 kB / 1.286 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001293/2.389, allocations: 0.5615 MB / 1.286 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.773e-06/2.389, allocations: 1.312 kB / 1.286 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002925/2.392, allocations: 415.9 kB / 1.287 GB, free: 195.3 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008651/2.4, allocations: 3.743 MB / 1.29 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007623/2.408, allocations: 2.746 MB / 1.293 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.408, allocations: 3.75 kB / 1.293 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005166/2.413, allocations: 1.897 MB / 1.295 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/2.417, allocations: 409.4 kB / 1.295 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/2.431, allocations: 2.96 MB / 1.298 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/2.432, allocations: 1.426 MB / 1.3 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003104/2.436, allocations: 358.4 kB / 1.3 GB, free: 190 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/2.437, allocations: 0.5799 MB / 1.301 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.623e-06/2.437, allocations: 0 / 1.301 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/2.561, allocations: 37.24 MB / 1.337 GB, free: 188 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/2.561, allocations: 151.7 kB / 1.337 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/6.233, allocations: 0 / 1.337 GB, free: 187.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)