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.682/1.682, allocations: 285.4 MB / 298 MB, free: 5.977 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.001673/0.001673, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.965/1.965, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.001065/0.001065, allocations: 91.98 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.229e-05/5.232e-05, allocations: 8 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.921, allocations: 115.3 MB / 0.971 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2835/1.205, allocations: 180.3 MB / 1.147 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/1.205, allocations: 95.69 kB / 1.147 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2919/1.497, allocations: 111.8 MB / 1.256 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.035e-06/1.497, allocations: 0 / 1.256 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001529/1.497, allocations: 63.98 kB / 1.256 GB, free: 2.617 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009219/1.506, allocations: 2.423 MB / 1.259 GB, free: 140 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/1.507, allocations: 8.031 kB / 1.259 GB, free: 132 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7691/2.276, allocations: 442.1 kB / 1.259 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/2.281, allocations: 0.6863 MB / 1.26 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/2.287, allocations: 1.612 MB / 1.261 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/2.287, allocations: 220.2 kB / 1.262 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/2.289, allocations: 284.6 kB / 1.262 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/2.302, allocations: 4.536 MB / 1.266 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/2.302, allocations: 11.53 kB / 1.266 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004226/2.302, allocations: 124.5 kB / 1.266 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003457/2.303, allocations: 183.6 kB / 1.267 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/2.313, allocations: 3.661 MB / 1.27 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0415/2.355, allocations: 23.05 MB / 1.293 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/2.358, allocations: 1.551 MB / 1.294 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/2.36, allocations: 0.8251 MB / 1.295 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/2.36, allocations: 102.6 kB / 1.295 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/2.36, allocations: 47.38 kB / 1.295 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.616e-06/2.36, allocations: 0 / 1.295 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.008298/2.369, allocations: 2.906 MB / 1.298 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/2.369, allocations: 138.2 kB / 1.298 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/2.371, allocations: 0.921 MB / 1.299 GB, free: 179 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/2.371, allocations: 39.45 kB / 1.299 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/2.372, allocations: 1.201 MB / 1.3 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/2.373, allocations: 271.4 kB / 1.301 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/2.373, allocations: 24.19 kB / 1.301 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002601/2.373, allocations: 410.9 kB / 1.301 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/2.375, allocations: 0.758 MB / 1.302 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002123/2.377, allocations: 1.248 MB / 1.303 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/2.379, allocations: 0.9676 MB / 1.304 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/2.379, allocations: 5.031 kB / 1.304 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00446/2.383, allocations: 2.099 MB / 1.306 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001371/2.385, allocations: 5.495 MB / 1.311 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/2.385, allocations: 16.72 kB / 1.311 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.447e-05/2.385, allocations: 22.62 kB / 1.311 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/2.387, allocations: 412 kB / 1.312 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.336e-05/2.387, allocations: 29.75 kB / 1.312 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/2.389, allocations: 267.8 kB / 1.312 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/2.389, allocations: 63.97 kB / 1.312 GB, free: 171 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/2.389, allocations: 5.438 kB / 1.312 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003717/2.393, allocations: 1.689 MB / 1.314 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-05/2.393, allocations: 13.75 kB / 1.314 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.745e-05/2.393, allocations: 27.33 kB / 1.314 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/2.395, allocations: 366.3 kB / 1.314 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-05/2.395, allocations: 31.36 kB / 1.314 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/2.396, allocations: 173.9 kB / 1.314 GB, free: 170.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/2.396, allocations: 57.33 kB / 1.314 GB, free: 170.4 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 () * 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.0005588/2.397, allocations: 184.1 kB / 1.315 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/2.398, allocations: 102.9 kB / 1.315 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/2.401, allocations: 1.463 MB / 1.316 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/2.401, allocations: 12.77 kB / 1.316 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/2.401, allocations: 2 kB / 1.316 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/2.401, allocations: 5.484 kB / 1.316 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/2.417, allocations: 7.228 MB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.831e-05/2.417, allocations: 14.91 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/2.418, allocations: 258.9 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-05/2.418, allocations: 16.75 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/2.418, allocations: 25.5 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/2.418, allocations: 22.61 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-05/2.418, allocations: 14.31 kB / 1.323 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/2.422, allocations: 2.383 MB / 1.326 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/2.423, allocations: 370.2 kB / 1.326 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/2.424, allocations: 33.44 kB / 1.326 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/2.425, allocations: 131.1 kB / 1.326 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/2.426, allocations: 81.53 kB / 1.326 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/2.426, allocations: 28.47 kB / 1.326 GB, free: 164.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00145/2.427, allocations: 0.6964 MB / 1.327 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.71e-07/2.427, allocations: 3.281 kB / 1.327 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005355/2.433, allocations: 0.8313 MB / 1.328 GB, free: 164.2 MB / 0.8542 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 () * 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.004084/2.437, allocations: 5.515 MB / 1.333 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004059/2.441, allocations: 2.584 MB / 1.336 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/2.441, allocations: 3.906 kB / 1.336 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009862/2.442, allocations: 0.7218 MB / 1.337 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/2.444, allocations: 261.2 kB / 1.337 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/2.456, allocations: 4.581 MB / 1.341 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/2.459, allocations: 2.164 MB / 1.343 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002588/2.461, allocations: 0.7868 MB / 1.344 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/2.463, allocations: 0.8061 MB / 1.345 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.263e-06/2.463, allocations: 3.719 kB / 1.345 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/2.535, allocations: 31.6 MB / 1.376 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/2.535, allocations: 184.7 kB / 1.376 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/5.476, allocations: 0 / 1.376 GB, free: 153.1 MB / 0.8542 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)