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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.4 MB / 303.3 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.001146/0.001146, allocations: 176.5 kB / 372 MB, free: 10.26 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.781/1.781, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007156/0.0007158, allocations: 82.42 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004919, allocations: 11.19 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2135, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.02853/0.2421, allocations: 33.9 MB / 1.013 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.2657, allocations: 12.87 MB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005142/0.2709, allocations: 91.69 kB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.2732, allocations: 0.5855 MB / 1.026 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004842/0.2781, allocations: 1.089 MB / 1.027 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005659/0.2838, allocations: 1.514 MB / 1.029 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009398/0.2932, allocations: 7.281 MB / 1.036 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01727/0.3105, allocations: 10.06 MB / 1.045 GB, free: 7.938 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.3148, allocations: 1.872 MB / 1.047 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006075/0.321, allocations: 2.636 MB / 1.05 GB, free: 3.414 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3221, allocations: 256 kB / 1.05 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.3246, allocations: 0.5424 MB / 1.051 GB, free: 2.621 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.3275, allocations: 1.984 MB / 1.053 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.3292, allocations: 0.8279 MB / 1.053 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009277/0.3385, allocations: 7.644 MB / 1.061 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3386, allocations: 0 / 1.061 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3386, allocations: 0 / 1.061 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003067/0.3389, allocations: 0 / 1.061 GB, free: 8.133 MB / 0.6823 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.008737/0.3476, allocations: 3.44 MB / 1.064 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.3477, allocations: 12.02 kB / 1.064 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002305/0.35, allocations: 0.6364 MB / 1.065 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.355, allocations: 0.9433 MB / 1.066 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/0.3604, allocations: 2.163 MB / 1.068 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.3609, allocations: 324.7 kB / 1.068 GB, free: 496 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.3624, allocations: 420 kB / 1.069 GB, free: 76 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4707/0.8331, allocations: 7.323 MB / 1.076 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.8333, allocations: 14.41 kB / 1.076 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009111/0.8343, allocations: 185.9 kB / 1.076 GB, free: 82.24 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005013/0.8348, allocations: 285.2 kB / 1.076 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0148/0.8496, allocations: 5.933 MB / 1.082 GB, free: 80.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/0.8869, allocations: 32.63 MB / 1.114 GB, free: 53.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.8897, allocations: 2.112 MB / 1.116 GB, free: 52.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.891, allocations: 1.232 MB / 1.117 GB, free: 51.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.8912, allocations: 106 kB / 1.117 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.8912, allocations: 52.81 kB / 1.117 GB, free: 51.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.8912, allocations: 0 / 1.117 GB, free: 51.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.007083/0.8983, allocations: 5.229 MB / 1.122 GB, free: 48.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.8984, allocations: 144 kB / 1.123 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.9004, allocations: 1.44 MB / 1.124 GB, free: 47.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.9006, allocations: 43.52 kB / 1.124 GB, free: 47.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.9017, allocations: 1.858 MB / 1.126 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.9021, allocations: 380.3 kB / 1.126 GB, free: 45.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.9022, allocations: 45 kB / 1.126 GB, free: 45.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9023, allocations: 389 kB / 1.127 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.9041, allocations: 1.101 MB / 1.128 GB, free: 44.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.906, allocations: 2.177 MB / 1.13 GB, free: 42.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.908, allocations: 1.522 MB / 1.131 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.908, allocations: 9.094 kB / 1.131 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004904/0.9129, allocations: 3.295 MB / 1.134 GB, free: 39.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.9136, allocations: 1.089 MB / 1.136 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/0.9136, allocations: 34.28 kB / 1.136 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.197e-05/0.9137, allocations: 51.09 kB / 1.136 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.9158, allocations: 0.6223 MB / 1.136 GB, free: 38.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.312e-05/0.9159, allocations: 71 kB / 1.136 GB, free: 38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.9178, allocations: 312.3 kB / 1.137 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.918, allocations: 118.8 kB / 1.137 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.918, allocations: 3.969 kB / 1.137 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003245/0.9212, allocations: 2.732 MB / 1.139 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.9213, allocations: 32.5 kB / 1.139 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-05/0.9213, allocations: 50.94 kB / 1.139 GB, free: 36.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.923, allocations: 0.5633 MB / 1.14 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/0.9231, allocations: 71.72 kB / 1.14 GB, free: 36.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.9245, allocations: 215.3 kB / 1.14 GB, free: 35.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9246, allocations: 115.9 kB / 1.14 GB, free: 35.71 MB / 0.6823 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 () * Number of clocked 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.002703/0.9273, allocations: 1.706 MB / 1.142 GB, free: 33.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/0.9278, allocations: 162 kB / 1.142 GB, free: 33.83 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.9308, allocations: 2.23 MB / 1.144 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.9308, allocations: 12 kB / 1.144 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.9308, allocations: 8 kB / 1.144 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.9308, allocations: 3.984 kB / 1.144 GB, free: 31.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/0.9432, allocations: 10.97 MB / 1.155 GB, free: 20.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.9433, allocations: 12 kB / 1.155 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.9447, allocations: 388.2 kB / 1.156 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.9447, allocations: 24 kB / 1.156 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.9448, allocations: 28 kB / 1.156 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/0.9448, allocations: 27.86 kB / 1.156 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.098e-06/0.9448, allocations: 19.89 kB / 1.156 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.9475, allocations: 2.755 MB / 1.158 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/0.9483, allocations: 466.8 kB / 1.159 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.9486, allocations: 35.98 kB / 1.159 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.9496, allocations: 163.7 kB / 1.159 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.9498, allocations: 100.2 kB / 1.159 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.9498, allocations: 40 kB / 1.159 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001118/0.951, allocations: 0.9625 MB / 1.16 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.951, allocations: 0 / 1.16 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003636/0.9546, allocations: 1.125 MB / 1.161 GB, free: 14.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.002926/0.9576, allocations: 3.344 MB / 1.164 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004982/0.9626, allocations: 3.954 MB / 1.168 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.9626, allocations: 8.125 kB / 1.168 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.9637, allocations: 1.063 MB / 1.169 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.966, allocations: 388.7 kB / 1.17 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/0.9916, allocations: 16.76 MB / 1.186 GB, free: 3.457 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/0.9947, allocations: 2.868 MB / 1.189 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003098/0.9978, allocations: 1.207 MB / 1.19 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.9994, allocations: 1.288 MB / 1.191 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.503e-06/0.9994, allocations: 0 / 1.191 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07843/1.078, allocations: 45.94 MB / 1.236 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.078, allocations: 218.3 kB / 1.236 GB, free: 300 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.201, allocations: 4 kB / 1.236 GB, free: 296 kB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)