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_N.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_N,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.417/2.417, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001513/0.001513, allocations: 176.8 kB / 360.6 MB, free: 7.277 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.176/2.176, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001095/0.001094, allocations: 90.81 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.647e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9441/0.9442, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/1.258, allocations: 179.4 MB / 1.139 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/1.258, allocations: 95.94 kB / 1.139 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4601/1.718, allocations: 111.4 MB / 1.248 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.475e-06/1.718, allocations: 3.938 kB / 1.248 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002093/1.719, allocations: 67.92 kB / 1.248 GB, free: 8.699 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.01077/1.729, allocations: 2.42 MB / 1.25 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.862e-05/1.73, allocations: 12.03 kB / 1.25 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/1.737, allocations: 0.6912 MB / 1.251 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0063/1.743, allocations: 1.613 MB / 1.252 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/1.743, allocations: 92 kB / 1.252 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/1.745, allocations: 164 kB / 1.252 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01146/1.756, allocations: 3.206 MB / 1.256 GB, free: 404 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6992/2.455, allocations: 4.115 MB / 1.26 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/2.456, allocations: 8.172 kB / 1.26 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006387/2.456, allocations: 6.062 kB / 1.26 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000422/2.457, allocations: 179.6 kB / 1.26 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/2.495, allocations: 22.14 MB / 1.281 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/2.5, allocations: 1.523 MB / 1.283 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/2.504, allocations: 1.001 MB / 1.284 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/2.504, allocations: 96.09 kB / 1.284 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/2.504, allocations: 45.06 kB / 1.284 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.687e-06/2.504, allocations: 1 kB / 1.284 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.008838/2.513, allocations: 2.921 MB / 1.287 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/2.513, allocations: 140.6 kB / 1.287 GB, free: 179 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/2.515, allocations: 0.8056 MB / 1.288 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/2.515, allocations: 26.77 kB / 1.288 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/2.516, allocations: 1.211 MB / 1.289 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004543/2.517, allocations: 262 kB / 1.289 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/2.517, allocations: 0 / 1.289 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002248/2.517, allocations: 401.2 kB / 1.29 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/2.519, allocations: 0.7514 MB / 1.29 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/2.522, allocations: 1.229 MB / 1.292 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/2.525, allocations: 1.052 MB / 1.293 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-05/2.525, allocations: 3.938 kB / 1.293 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.006513/2.532, allocations: 2.086 MB / 1.295 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001441/2.533, allocations: 5.493 MB / 1.3 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.23e-05/2.533, allocations: 13.97 kB / 1.3 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.821e-05/2.533, allocations: 22.98 kB / 1.3 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/2.537, allocations: 415.4 kB / 1.3 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/2.537, allocations: 29.56 kB / 1.3 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003148/2.54, allocations: 235.3 kB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/2.541, allocations: 59.62 kB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/2.541, allocations: 6.953 kB / 1.301 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005129/2.546, allocations: 1.669 MB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.73e-05/2.546, allocations: 13.75 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.577e-05/2.546, allocations: 22.44 kB / 1.302 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002872/2.549, allocations: 363.5 kB / 1.303 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.703e-05/2.549, allocations: 34.97 kB / 1.303 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/2.551, allocations: 150.6 kB / 1.303 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/2.552, allocations: 59.03 kB / 1.303 GB, free: 171.3 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.0005644/2.552, allocations: 148 kB / 1.303 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004078/2.556, allocations: 1.412 MB / 1.304 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/2.557, allocations: 91.88 kB / 1.305 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/2.561, allocations: 1.484 MB / 1.306 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/2.561, allocations: 9.25 kB / 1.306 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/2.561, allocations: 0 / 1.306 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/2.561, allocations: 4.734 kB / 1.306 GB, free: 171 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/2.578, allocations: 6.514 MB / 1.312 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.143e-05/2.578, allocations: 12.5 kB / 1.312 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/2.58, allocations: 265 kB / 1.313 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/2.58, allocations: 13.75 kB / 1.313 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/2.58, allocations: 11.52 kB / 1.313 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-05/2.58, allocations: 15.98 kB / 1.313 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-05/2.58, allocations: 22.5 kB / 1.313 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/2.584, allocations: 2.404 MB / 1.315 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/2.586, allocations: 366.6 kB / 1.315 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/2.586, allocations: 17.27 kB / 1.315 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/2.588, allocations: 127.3 kB / 1.316 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/2.588, allocations: 74.84 kB / 1.316 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.977e-05/2.588, allocations: 31.22 kB / 1.316 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001347/2.59, allocations: 0.6014 MB / 1.316 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.41e-07/2.59, allocations: 0 / 1.316 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005475/2.595, allocations: 0.7646 MB / 1.317 GB, free: 167.3 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.006193/2.601, allocations: 5.531 MB / 1.322 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007026/2.608, allocations: 2.522 MB / 1.325 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.921e-05/2.609, allocations: 1.5 kB / 1.325 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/2.61, allocations: 0.6996 MB / 1.326 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/2.613, allocations: 236.1 kB / 1.326 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/2.628, allocations: 4.524 MB / 1.33 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003507/2.631, allocations: 2.17 MB / 1.332 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003579/2.635, allocations: 0.7725 MB / 1.333 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/2.637, allocations: 0.7989 MB / 1.334 GB, free: 158 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/2.637, allocations: 0 / 1.334 GB, free: 158 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08867/2.726, allocations: 29.94 MB / 1.363 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/2.726, allocations: 157 kB / 1.363 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/5.849, allocations: 0 / 1.363 GB, free: 156.5 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)