Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.464/2.464, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001628/0.001627, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.103/2.103, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001128/0.001128, allocations: 92.67 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.631e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8457, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/1.153, allocations: 180.2 MB / 1.139 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/1.154, allocations: 99.92 kB / 1.139 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.376/2.53, allocations: 159.1 MB / 1.295 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.446e-06/2.53, allocations: 0 / 1.295 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004213/2.53, allocations: 99.14 kB / 1.295 GB, free: 189.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02204/2.552, allocations: 3.349 MB / 1.298 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/2.552, allocations: 9.625 kB / 1.298 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/2.567, allocations: 0.9613 MB / 1.299 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/2.579, allocations: 2.289 MB / 1.301 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005038/2.58, allocations: 140.6 kB / 1.301 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/2.583, allocations: 251.7 kB / 1.302 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02182/2.604, allocations: 4.612 MB / 1.306 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/2.636, allocations: 5.986 MB / 1.312 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/2.636, allocations: 9.938 kB / 1.312 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001969/2.638, allocations: 11.72 kB / 1.312 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000596/2.639, allocations: 257.2 kB / 1.312 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06035/2.699, allocations: 31.14 MB / 1.343 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/2.704, allocations: 1.821 MB / 1.345 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/2.706, allocations: 1.056 MB / 1.346 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/2.707, allocations: 101.4 kB / 1.346 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/2.707, allocations: 50 kB / 1.346 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 5.099e-06/2.707, allocations: 0 / 1.346 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.01125/2.718, allocations: 4.022 MB / 1.35 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/2.718, allocations: 136.5 kB / 1.35 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/2.721, allocations: 1.3 MB / 1.351 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/2.721, allocations: 33.17 kB / 1.351 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/2.722, allocations: 1.912 MB / 1.353 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/2.723, allocations: 321.3 kB / 1.353 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/2.723, allocations: 0 / 1.353 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001838/2.723, allocations: 392.2 kB / 1.354 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/2.726, allocations: 1.043 MB / 1.355 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/2.729, allocations: 2.095 MB / 1.357 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004057/2.733, allocations: 1.617 MB / 1.358 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-05/2.733, allocations: 11.23 kB / 1.358 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008385/2.742, allocations: 3.16 MB / 1.361 GB, free: 153 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003166/2.745, allocations: 13.42 MB / 1.374 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/2.745, allocations: 35 kB / 1.374 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.974e-05/2.745, allocations: 53.81 kB / 1.375 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/2.75, allocations: 0.6189 MB / 1.375 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/2.75, allocations: 75.17 kB / 1.375 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/2.754, allocations: 322.6 kB / 1.376 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/2.755, allocations: 118.8 kB / 1.376 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/2.755, allocations: 3.781 kB / 1.376 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006446/2.761, allocations: 2.57 MB / 1.378 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-05/2.761, allocations: 38.59 kB / 1.378 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/2.762, allocations: 51.16 kB / 1.378 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/2.765, allocations: 0.5574 MB / 1.379 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-05/2.765, allocations: 62.77 kB / 1.379 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/2.768, allocations: 209 kB / 1.379 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/2.769, allocations: 121.1 kB / 1.379 GB, free: 137.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007119/2.77, allocations: 190.2 kB / 1.379 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004207/2.774, allocations: 1.761 MB / 1.381 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006025/2.775, allocations: 152.2 kB / 1.381 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/2.779, allocations: 1.875 MB / 1.383 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/2.779, allocations: 8.719 kB / 1.383 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/2.779, allocations: 3.953 kB / 1.383 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/2.779, allocations: 7.125 kB / 1.383 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/2.795, allocations: 6.615 MB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/2.795, allocations: 7.562 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/2.798, allocations: 334.5 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/2.798, allocations: 12.84 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/2.798, allocations: 11.33 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/2.798, allocations: 20.28 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.798, allocations: 11.28 kB / 1.39 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/2.802, allocations: 2.692 MB / 1.393 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/2.804, allocations: 450.8 kB / 1.393 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/2.804, allocations: 10.62 kB / 1.393 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/2.806, allocations: 153.7 kB / 1.393 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/2.807, allocations: 71.69 kB / 1.393 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/2.807, allocations: 34.09 kB / 1.393 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001909/2.809, allocations: 0.9362 MB / 1.394 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.41e-07/2.809, allocations: 0 / 1.394 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007501/2.816, allocations: 1.132 MB / 1.395 GB, free: 130.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005343/2.822, allocations: 5.183 MB / 1.4 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008002/2.83, allocations: 3.603 MB / 1.404 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/2.83, allocations: 3.469 kB / 1.404 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/2.832, allocations: 0.8466 MB / 1.405 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/2.835, allocations: 346.5 kB / 1.405 GB, free: 125 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/2.855, allocations: 6.452 MB / 1.411 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/2.86, allocations: 2.922 MB / 1.414 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005963/2.866, allocations: 1.25 MB / 1.415 GB, free: 118 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003218/2.87, allocations: 1.269 MB / 1.417 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.293e-06/2.87, allocations: 0 / 1.417 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/3.042, allocations: 45.27 MB / 1.461 GB, free: 76.51 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/3.042, allocations: 154.7 kB / 1.461 GB, free: 76.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/6.731, allocations: 0 / 1.461 GB, free: 76.32 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)