Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001342/0.001342, allocations: 176.4 kB / 361.4 MB, free: 6.805 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.528/1.528, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009115/0.0009113, allocations: 93.42 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.547e-05, allocations: 0 / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9676/0.9676, allocations: 115.3 MB / 0.9645 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/1.218, allocations: 161.6 MB / 1.122 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/1.219, allocations: 91.94 kB / 1.122 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2157/1.434, allocations: 85.88 MB / 1.206 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.266e-06/1.435, allocations: 0 / 1.206 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001386/1.435, allocations: 47.92 kB / 1.206 GB, free: 3.535 MB / 0.8073 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.003702/1.438, allocations: 1.537 MB / 1.208 GB, free: 1.945 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/1.438, allocations: 8.031 kB / 1.208 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/1.443, allocations: 0.6232 MB / 1.208 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/1.445, allocations: 0.892 MB / 1.209 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/1.445, allocations: 40 kB / 1.209 GB, free: 348 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/1.446, allocations: 72 kB / 1.209 GB, free: 276 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002608/1.448, allocations: 1.345 MB / 1.211 GB, free: 14.92 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/1.452, allocations: 2.113 MB / 1.213 GB, free: 12.51 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/1.452, allocations: 15.88 kB / 1.213 GB, free: 12.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/1.452, allocations: 8 kB / 1.213 GB, free: 12.49 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/1.452, allocations: 146.3 kB / 1.213 GB, free: 12.34 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/1.464, allocations: 12.21 MB / 1.225 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/1.468, allocations: 1.802 MB / 1.227 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008043/1.469, allocations: 0.5669 MB / 1.227 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/1.469, allocations: 114.4 kB / 1.227 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/1.469, allocations: 39.88 kB / 1.227 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 3.577e-06/1.469, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.00474/1.474, allocations: 2.407 MB / 1.23 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.474, allocations: 64.72 kB / 1.23 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009546/1.475, allocations: 0.6599 MB / 1.23 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/1.475, allocations: 29.7 kB / 1.23 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/1.475, allocations: 0.7159 MB / 1.231 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/1.476, allocations: 362.6 kB / 1.231 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/1.476, allocations: 0 / 1.231 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.476, allocations: 365.9 kB / 1.232 GB, free: 7.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008038/1.477, allocations: 0.5584 MB / 1.232 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.478, allocations: 0.9857 MB / 1.233 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/1.48, allocations: 0.857 MB / 1.234 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.48, allocations: 4 kB / 1.234 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003551/1.483, allocations: 2.005 MB / 1.236 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.483, allocations: 12.94 kB / 1.236 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.483, allocations: 12 kB / 1.236 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007739/1.484, allocations: 251.4 kB / 1.236 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.485, allocations: 355.4 kB / 1.237 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008032/1.494, allocations: 10.33 MB / 1.247 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/1.495, allocations: 96.09 kB / 1.247 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.495, allocations: 67.98 kB / 1.247 GB, free: 7.297 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 (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.0003272/1.496, allocations: 148.4 kB / 1.247 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002819/1.498, allocations: 1.478 MB / 1.249 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/1.499, allocations: 122.5 kB / 1.249 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/1.502, allocations: 1.627 MB / 1.25 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.502, allocations: 15.94 kB / 1.25 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.502, allocations: 8 kB / 1.25 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.502, allocations: 3.984 kB / 1.25 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/1.507, allocations: 3.051 MB / 1.253 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.507, allocations: 4 kB / 1.253 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008815/1.508, allocations: 223.6 kB / 1.253 GB, free: 416 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007156/1.509, allocations: 235.1 kB / 1.254 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/1.509, allocations: 12 kB / 1.254 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5389/2.048, allocations: 10.29 MB / 1.264 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.299e-05/2.048, allocations: 11.34 kB / 1.264 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/2.052, allocations: 2.04 MB / 1.266 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/2.053, allocations: 317.6 kB / 1.266 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/2.053, allocations: 8.062 kB / 1.266 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/2.054, allocations: 71.52 kB / 1.266 GB, free: 198 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/2.054, allocations: 96.34 kB / 1.266 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/2.054, allocations: 34.98 kB / 1.266 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008533/2.055, allocations: 0.4913 MB / 1.267 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/2.055, allocations: 0 / 1.267 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001919/2.057, allocations: 347.6 kB / 1.267 GB, free: 197.8 MB / 0.8542 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.003533/2.06, allocations: 4.127 MB / 1.271 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003045/2.063, allocations: 2.303 MB / 1.273 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/2.063, allocations: 2.656 kB / 1.273 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/2.065, allocations: 1.531 MB / 1.275 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/2.067, allocations: 275.3 kB / 1.275 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/2.072, allocations: 2.379 MB / 1.277 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/2.073, allocations: 1.363 MB / 1.279 GB, free: 192 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001174/2.074, allocations: 345.4 kB / 1.279 GB, free: 192 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007122/2.074, allocations: 0.5188 MB / 1.28 GB, free: 192 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/2.074, allocations: 0 / 1.28 GB, free: 192 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/2.144, allocations: 24.83 MB / 1.304 GB, free: 191.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/2.144, allocations: 176.3 kB / 1.304 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/5.28, allocations: 4 kB / 1.304 GB, free: 190.9 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)