Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001069/0.001069, allocations: 183.7 kB / 371.8 MB, free: 10.28 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.832/1.832, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009378/0.0009379, allocations: 94.84 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 14.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7965/1.031, allocations: 180.4 MB / 1.156 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.031, allocations: 105.5 kB / 1.156 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2662/1.297, allocations: 112.3 MB / 1.265 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.753e-06/1.297, allocations: 0 / 1.265 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001308/1.297, allocations: 63.98 kB / 1.265 GB, free: 13.15 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007591/1.305, allocations: 2.516 MB / 1.268 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/1.305, allocations: 8.031 kB / 1.268 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002102/1.307, allocations: 449.7 kB / 1.268 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/1.312, allocations: 0.7029 MB / 1.269 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005191/1.317, allocations: 1.613 MB / 1.271 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.317, allocations: 217.8 kB / 1.271 GB, free: 7.535 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/1.318, allocations: 284 kB / 1.271 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009679/1.328, allocations: 4.602 MB / 1.276 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/1.328, allocations: 7.938 kB / 1.276 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/1.329, allocations: 127.9 kB / 1.276 GB, free: 2.336 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/1.329, allocations: 176.7 kB / 1.276 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006886/1.336, allocations: 3.752 MB / 1.28 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/1.365, allocations: 23.06 MB / 1.302 GB, free: 5.199 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/1.368, allocations: 1.582 MB / 1.304 GB, free: 3.574 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/1.369, allocations: 97.78 kB / 1.304 GB, free: 3.461 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.369, allocations: 51.06 kB / 1.304 GB, free: 3.402 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 3.166e-06/1.369, allocations: 7.875 kB / 1.304 GB, free: 3.395 MB / 0.823 GB Notification: Performance of matching and sorting (n=75): time 0.006798/1.376, allocations: 3.545 MB / 1.307 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/1.376, allocations: 137.1 kB / 1.307 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.377, allocations: 0.9378 MB / 1.308 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/1.377, allocations: 37.7 kB / 1.308 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007057/1.378, allocations: 1.185 MB / 1.309 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/1.378, allocations: 276.2 kB / 1.31 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/1.378, allocations: 24 kB / 1.31 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.378, allocations: 410.7 kB / 1.31 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.379, allocations: 0.7833 MB / 1.311 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/1.381, allocations: 1.275 MB / 1.312 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.382, allocations: 1.004 MB / 1.313 GB, free: 9.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/1.382, allocations: 4 kB / 1.313 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003035/1.385, allocations: 2.16 MB / 1.315 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001887/1.387, allocations: 5.495 MB / 1.321 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.387, allocations: 12 kB / 1.321 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.003e-05/1.387, allocations: 24 kB / 1.321 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.389, allocations: 407.3 kB / 1.321 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.06e-05/1.389, allocations: 31.86 kB / 1.321 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.39, allocations: 259.3 kB / 1.321 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/1.391, allocations: 67.97 kB / 1.321 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/1.391, allocations: 4 kB / 1.321 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/1.393, allocations: 1.749 MB / 1.323 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/1.393, allocations: 12 kB / 1.323 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/1.393, allocations: 24 kB / 1.323 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.394, allocations: 367.9 kB / 1.323 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.234e-05/1.394, allocations: 27.92 kB / 1.323 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.396, allocations: 179.3 kB / 1.324 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.396, allocations: 63.92 kB / 1.324 GB, free: 14.17 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.002678/1.398, allocations: 1.168 MB / 1.325 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/1.399, allocations: 98.78 kB / 1.325 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/1.401, allocations: 1.51 MB / 1.326 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.401, allocations: 8 kB / 1.326 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.401, allocations: 0 / 1.326 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.401, allocations: 7.938 kB / 1.326 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/1.414, allocations: 7.269 MB / 1.334 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.414, allocations: 11.94 kB / 1.334 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.415, allocations: 268.4 kB / 1.334 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/1.415, allocations: 12 kB / 1.334 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/1.415, allocations: 24 kB / 1.334 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/1.415, allocations: 19.92 kB / 1.334 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.415, allocations: 12.03 kB / 1.334 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/1.417, allocations: 2.429 MB / 1.336 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/1.418, allocations: 371.7 kB / 1.337 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.418, allocations: 31.98 kB / 1.337 GB, free: 352 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/1.419, allocations: 139.8 kB / 1.337 GB, free: 212 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.42, allocations: 75.72 kB / 1.337 GB, free: 136 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.42, allocations: 28 kB / 1.337 GB, free: 108 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009971/1.421, allocations: 0.7103 MB / 1.338 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.421, allocations: 0 / 1.338 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002684/1.423, allocations: 0.832 MB / 1.338 GB, free: 14.55 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.00359/1.427, allocations: 5.552 MB / 1.344 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.431, allocations: 2.652 MB / 1.346 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.431, allocations: 0 / 1.346 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/1.432, allocations: 0.7361 MB / 1.347 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.433, allocations: 249 kB / 1.347 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.453, allocations: 20.32 MB / 1.367 GB, free: 208 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/1.455, allocations: 2.171 MB / 1.369 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001962/1.457, allocations: 0.7383 MB / 1.37 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.458, allocations: 0.8195 MB / 1.371 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of SimCode: time 9.21e-07/1.458, allocations: 0 / 1.371 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/1.505, allocations: 30.2 MB / 1.4 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.506, allocations: 209.3 kB / 1.401 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.979, allocations: 0 / 1.401 GB, free: 14.27 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)