Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001136/0.001136, allocations: 180.8 kB / 371.6 MB, free: 3.41 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.99/1.99, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009766/0.0009768, allocations: 86.02 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.38e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3013, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.303, allocations: 182 MB / 1.158 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.303, allocations: 100.6 kB / 1.158 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4369/1.74, allocations: 159.7 MB / 1.314 GB, free: 12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/1.74, allocations: 7.875 kB / 1.314 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002402/1.74, allocations: 95.98 kB / 1.314 GB, free: 11.89 MB / 0.8855 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.01247/1.753, allocations: 3.34 MB / 1.317 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/1.753, allocations: 12.03 kB / 1.317 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002741/1.756, allocations: 0.6324 MB / 1.318 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007002/1.763, allocations: 0.9667 MB / 1.319 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006982/1.77, allocations: 2.282 MB / 1.321 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/1.77, allocations: 332.6 kB / 1.321 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/1.772, allocations: 427.9 kB / 1.322 GB, free: 3.789 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/1.792, allocations: 6.61 MB / 1.328 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/1.792, allocations: 11.94 kB / 1.328 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/1.793, allocations: 180 kB / 1.328 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003514/1.793, allocations: 259 kB / 1.328 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/1.807, allocations: 5.22 MB / 1.333 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0559/1.863, allocations: 32.48 MB / 1.365 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/1.866, allocations: 1.853 MB / 1.367 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/1.868, allocations: 1.075 MB / 1.368 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/1.868, allocations: 101.9 kB / 1.368 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.869, allocations: 51.28 kB / 1.368 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 3.547e-06/1.869, allocations: 0 / 1.368 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.007284/1.876, allocations: 4.032 MB / 1.372 GB, free: 12.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.876, allocations: 137.3 kB / 1.372 GB, free: 12.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/1.878, allocations: 1.454 MB / 1.374 GB, free: 11.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.878, allocations: 41.7 kB / 1.374 GB, free: 11.04 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/1.88, allocations: 1.905 MB / 1.376 GB, free: 9.105 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/1.88, allocations: 335.5 kB / 1.376 GB, free: 8.773 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/1.88, allocations: 40 kB / 1.376 GB, free: 8.734 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.881, allocations: 398 kB / 1.376 GB, free: 8.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/1.882, allocations: 1.086 MB / 1.377 GB, free: 7.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/1.885, allocations: 2.145 MB / 1.38 GB, free: 4.582 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/1.888, allocations: 1.528 MB / 1.381 GB, free: 3.055 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.897e-05/1.888, allocations: 8 kB / 1.381 GB, free: 3.047 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.7457/2.634, allocations: 3.254 MB / 1.384 GB, free: 194.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00747/2.642, allocations: 13.42 MB / 1.397 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/2.642, allocations: 38.59 kB / 1.397 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/2.642, allocations: 52.84 kB / 1.397 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/2.645, allocations: 0.6187 MB / 1.398 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.958e-05/2.645, allocations: 70.03 kB / 1.398 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/2.648, allocations: 376.1 kB / 1.398 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/2.648, allocations: 111.9 kB / 1.399 GB, free: 180.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.648, allocations: 3.594 kB / 1.399 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004949/2.653, allocations: 2.715 MB / 1.401 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-05/2.653, allocations: 34.81 kB / 1.401 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.62e-05/2.653, allocations: 52.16 kB / 1.401 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/2.655, allocations: 0.5535 MB / 1.402 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.038e-05/2.656, allocations: 72.28 kB / 1.402 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/2.658, allocations: 248 kB / 1.402 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/2.658, allocations: 111.5 kB / 1.402 GB, free: 180.4 MB / 0.948 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.0006019/2.658, allocations: 250.2 kB / 1.402 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/2.659, allocations: 160.5 kB / 1.403 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/2.663, allocations: 1.886 MB / 1.404 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/2.663, allocations: 10.3 kB / 1.404 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/2.663, allocations: 3.438 kB / 1.404 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/2.663, allocations: 13.38 kB / 1.404 GB, free: 180.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/2.679, allocations: 7.722 MB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/2.679, allocations: 7.156 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/2.68, allocations: 341.4 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-05/2.68, allocations: 13.31 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/2.681, allocations: 26.5 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.558e-05/2.681, allocations: 15.2 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/2.681, allocations: 12.47 kB / 1.412 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/2.685, allocations: 2.711 MB / 1.415 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/2.686, allocations: 463.5 kB / 1.415 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/2.687, allocations: 20.03 kB / 1.416 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/2.688, allocations: 168.8 kB / 1.416 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/2.688, allocations: 74 kB / 1.416 GB, free: 178.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/2.688, allocations: 31.28 kB / 1.416 GB, free: 178.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00177/2.69, allocations: 1.079 MB / 1.417 GB, free: 178 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/2.69, allocations: 0 / 1.417 GB, free: 178 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004539/2.694, allocations: 1.225 MB / 1.418 GB, free: 178 MB / 0.948 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.003712/2.698, allocations: 5.207 MB / 1.423 GB, free: 174.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006013/2.704, allocations: 3.799 MB / 1.427 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.704, allocations: 0 / 1.427 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/2.705, allocations: 0.8692 MB / 1.428 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/2.707, allocations: 376.2 kB / 1.428 GB, free: 174.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/2.72, allocations: 6.567 MB / 1.434 GB, free: 173.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/2.723, allocations: 2.931 MB / 1.437 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003497/2.727, allocations: 1.254 MB / 1.439 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/2.729, allocations: 1.269 MB / 1.44 GB, free: 172.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/2.729, allocations: 2.438 kB / 1.44 GB, free: 172.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/2.809, allocations: 47.32 MB / 1.486 GB, free: 170.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/2.809, allocations: 174.5 kB / 1.486 GB, free: 170.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/6.222, allocations: 0 / 1.486 GB, free: 170.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)