Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001873/0.001873, allocations: 174.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 94.84 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.483e-05/4.485e-05, allocations: 7.984 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8539/1.117, allocations: 156 MB / 1.044 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.117, allocations: 91.5 kB / 1.044 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2955/1.413, allocations: 86.22 MB / 1.129 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.635e-06/1.413, allocations: 0 / 1.129 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001209/1.413, allocations: 43.98 kB / 1.129 GB, free: 12.2 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004084/1.417, allocations: 1.533 MB / 1.13 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/1.417, allocations: 12.03 kB / 1.13 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004681/1.418, allocations: 211.2 kB / 1.13 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/1.425, allocations: 0.6145 MB / 1.131 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/1.428, allocations: 0.8842 MB / 1.132 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.428, allocations: 94.52 kB / 1.132 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000619/1.428, allocations: 131.9 kB / 1.132 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006744/1.435, allocations: 2.306 MB / 1.134 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/1.435, allocations: 11.94 kB / 1.134 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/1.436, allocations: 71.91 kB / 1.134 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003385/1.436, allocations: 142.3 kB / 1.134 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005103/1.441, allocations: 1.816 MB / 1.136 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02077/1.462, allocations: 12.51 MB / 1.148 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/1.467, allocations: 1.836 MB / 1.15 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009567/1.468, allocations: 0.6011 MB / 1.151 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/1.468, allocations: 98.03 kB / 1.151 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/1.468, allocations: 43.56 kB / 1.151 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 3.767e-06/1.468, allocations: 4 kB / 1.151 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.005118/1.474, allocations: 2.386 MB / 1.153 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/1.474, allocations: 60.41 kB / 1.153 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.475, allocations: 0.787 MB / 1.154 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/1.475, allocations: 45.7 kB / 1.154 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/1.476, allocations: 0.7047 MB / 1.155 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/1.476, allocations: 386.4 kB / 1.155 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/1.476, allocations: 32 kB / 1.155 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.476, allocations: 365.7 kB / 1.156 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.477, allocations: 0.5896 MB / 1.156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/1.479, allocations: 1.024 MB / 1.157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.48, allocations: 0.7465 MB / 1.158 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/1.48, allocations: 4 kB / 1.158 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003636/1.484, allocations: 2.002 MB / 1.16 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.484, allocations: 12 kB / 1.16 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/1.484, allocations: 12 kB / 1.16 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/1.485, allocations: 255 kB / 1.16 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.486, allocations: 359.4 kB / 1.16 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009324/1.495, allocations: 10.74 MB / 1.171 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.497, allocations: 119.8 kB / 1.171 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.497, allocations: 71.92 kB / 1.171 GB, free: 13.82 MB / 0.7917 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 (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004574/1.498, allocations: 198.2 kB / 1.171 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003734/1.498, allocations: 126.5 kB / 1.171 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.501, allocations: 1.661 MB / 1.173 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.501, allocations: 12 kB / 1.173 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.501, allocations: 11.95 kB / 1.173 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.502, allocations: 3.984 kB / 1.173 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006191/1.508, allocations: 3.258 MB / 1.176 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.508, allocations: 4 kB / 1.176 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/1.509, allocations: 219.6 kB / 1.176 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/1.509, allocations: 251.2 kB / 1.177 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-05/1.51, allocations: 31.98 kB / 1.177 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009195/1.519, allocations: 10.74 MB / 1.187 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.519, allocations: 7.938 kB / 1.187 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/1.522, allocations: 2.052 MB / 1.189 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/1.523, allocations: 319.4 kB / 1.19 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/1.524, allocations: 27.98 kB / 1.19 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009795/1.525, allocations: 91.88 kB / 1.19 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/1.525, allocations: 96.5 kB / 1.19 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/1.525, allocations: 32 kB / 1.19 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001084/1.526, allocations: 0.6032 MB / 1.19 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.41e-07/1.526, allocations: 0 / 1.19 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001884/1.528, allocations: 411.9 kB / 1.191 GB, free: 8.168 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004144/1.532, allocations: 4.13 MB / 1.195 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003805/1.536, allocations: 2.428 MB / 1.197 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.536, allocations: 0 / 1.197 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00227/1.538, allocations: 1.605 MB / 1.199 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.54, allocations: 311 kB / 1.199 GB, free: 15.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007928/1.548, allocations: 2.497 MB / 1.201 GB, free: 12.69 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/1.55, allocations: 1.364 MB / 1.203 GB, free: 11.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001481/1.552, allocations: 351 kB / 1.203 GB, free: 10.94 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000943/1.552, allocations: 0.5188 MB / 1.204 GB, free: 10.42 MB / 0.823 GB Notification: Performance of SimCode: time 2.305e-06/1.553, allocations: 4 kB / 1.204 GB, free: 10.42 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/1.622, allocations: 26.9 MB / 1.23 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/1.622, allocations: 221.7 kB / 1.23 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/4.601, allocations: 0 / 1.23 GB, free: 15.58 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)