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.693/1.693, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001386/0.001387, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.818/1.818, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0009242/0.0009242, allocations: 86.88 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.598e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8015, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/1.08, allocations: 181.3 MB / 1.15 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.08, allocations: 95.94 kB / 1.151 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/2.115, allocations: 159.1 MB / 1.306 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/2.115, allocations: 4 kB / 1.306 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002615/2.115, allocations: 98.91 kB / 1.306 GB, free: 192.2 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.01348/2.129, allocations: 3.345 MB / 1.309 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/2.129, allocations: 9.25 kB / 1.309 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007125/2.136, allocations: 0.9617 MB / 1.31 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006959/2.143, allocations: 2.288 MB / 1.312 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/2.143, allocations: 139.2 kB / 1.313 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001892/2.145, allocations: 247.9 kB / 1.313 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01098/2.156, allocations: 4.616 MB / 1.317 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/2.169, allocations: 5.99 MB / 1.323 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/2.169, allocations: 10.34 kB / 1.323 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/2.17, allocations: 7.625 kB / 1.323 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/2.17, allocations: 256.5 kB / 1.323 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03337/2.203, allocations: 31.15 MB / 1.354 GB, free: 163 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/2.207, allocations: 1.837 MB / 1.356 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/2.209, allocations: 1.044 MB / 1.357 GB, free: 162 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/2.209, allocations: 105.2 kB / 1.357 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/2.209, allocations: 46.62 kB / 1.357 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 4.298e-06/2.209, allocations: 0 / 1.357 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.008157/2.217, allocations: 4.016 MB / 1.361 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/2.217, allocations: 145 kB / 1.361 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/2.219, allocations: 1.301 MB / 1.362 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/2.22, allocations: 25.7 kB / 1.362 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/2.221, allocations: 1.911 MB / 1.364 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/2.221, allocations: 327.7 kB / 1.364 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/2.221, allocations: 0 / 1.364 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001737/2.222, allocations: 389.5 kB / 1.365 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/2.223, allocations: 1.047 MB / 1.366 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/2.226, allocations: 2.097 MB / 1.368 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/2.229, allocations: 1.608 MB / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/2.229, allocations: 11.69 kB / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006646/2.236, allocations: 3.166 MB / 1.372 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00342/2.239, allocations: 13.43 MB / 1.386 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.778e-05/2.239, allocations: 33.62 kB / 1.386 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/2.239, allocations: 52.62 kB / 1.386 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/2.242, allocations: 0.6207 MB / 1.386 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.605e-05/2.242, allocations: 75.16 kB / 1.386 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/2.246, allocations: 322.9 kB / 1.387 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/2.246, allocations: 114.2 kB / 1.387 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/2.246, allocations: 7.562 kB / 1.387 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005195/2.251, allocations: 2.571 MB / 1.389 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/2.251, allocations: 35.59 kB / 1.389 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.229e-05/2.251, allocations: 50.5 kB / 1.389 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/2.254, allocations: 0.5569 MB / 1.39 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.573e-05/2.254, allocations: 69.23 kB / 1.39 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/2.256, allocations: 215 kB / 1.39 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/2.256, allocations: 107.1 kB / 1.39 GB, free: 137.4 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.0005144/2.257, allocations: 199.8 kB / 1.39 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003325/2.26, allocations: 1.762 MB / 1.392 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/2.261, allocations: 148.1 kB / 1.392 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/2.264, allocations: 1.869 MB / 1.394 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/2.264, allocations: 11.31 kB / 1.394 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/2.264, allocations: 3.938 kB / 1.394 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/2.264, allocations: 11.41 kB / 1.394 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/2.277, allocations: 6.607 MB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/2.277, allocations: 7.844 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/2.279, allocations: 338.7 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/2.279, allocations: 13.12 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-05/2.279, allocations: 10.44 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.498e-05/2.279, allocations: 13.95 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/2.279, allocations: 15.69 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003679/2.282, allocations: 2.691 MB / 1.404 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009777/2.283, allocations: 445.2 kB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/2.284, allocations: 7.688 kB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/2.285, allocations: 152.8 kB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/2.285, allocations: 77.61 kB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/2.286, allocations: 26.84 kB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00169/2.287, allocations: 0.9405 MB / 1.405 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.383e-06/2.287, allocations: 0 / 1.405 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006223/2.294, allocations: 1.134 MB / 1.406 GB, free: 130.4 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.00393/2.297, allocations: 5.189 MB / 1.411 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006817/2.304, allocations: 3.595 MB / 1.415 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.304, allocations: 4.5 kB / 1.415 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/2.306, allocations: 0.8425 MB / 1.416 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/2.308, allocations: 358.7 kB / 1.416 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.326, allocations: 6.44 MB / 1.422 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/2.33, allocations: 2.929 MB / 1.425 GB, free: 112 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005/2.335, allocations: 1.25 MB / 1.426 GB, free: 110.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/2.337, allocations: 1.272 MB / 1.428 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.133e-06/2.337, allocations: 0 / 1.428 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/2.447, allocations: 45.27 MB / 1.472 GB, free: 64.86 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/2.448, allocations: 155 kB / 1.472 GB, free: 64.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/5.716, allocations: 4 kB / 1.472 GB, free: 64.66 MB / 0.8542 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)