Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 390.3 MB / 0.6647 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5098/0.511, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1552/0.6662, allocations: 162.4 MB / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003681/0.6699, allocations: 2.921 MB / 1.111 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.6702, allocations: 19.88 kB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.6708, allocations: 206.8 kB / 1.111 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.6722, allocations: 0.7699 MB / 1.112 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.6728, allocations: 334.6 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009205/0.6737, allocations: 0.939 MB / 1.113 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.674, allocations: 258.3 kB / 1.114 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.6744, allocations: 350.6 kB / 1.114 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006624/0.6751, allocations: 286.5 kB / 1.114 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.6752, allocations: 32 kB / 1.114 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009196/0.6761, allocations: 0.6352 MB / 1.115 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.6762, allocations: 135.5 kB / 1.115 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.6764, allocations: 211 kB / 1.115 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.6773, allocations: 0.7402 MB / 1.116 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6773, allocations: 0 / 1.116 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6773, allocations: 0 / 1.116 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.6773, allocations: 3.938 kB / 1.116 GB, free: 6.977 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009549/0.6783, allocations: 0.7165 MB / 1.117 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.6783, allocations: 8.031 kB / 1.117 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.6784, allocations: 66.53 kB / 1.117 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009649/0.6794, allocations: 139.3 kB / 1.117 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.6799, allocations: 398.4 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6799, allocations: 16.56 kB / 1.117 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.6799, allocations: 31.91 kB / 1.117 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.6803, allocations: 275.7 kB / 1.117 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6804, allocations: 0 / 1.117 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.6804, allocations: 15.98 kB / 1.118 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6804, allocations: 12.5 kB / 1.118 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.6807, allocations: 198.1 kB / 1.118 GB, free: 5.008 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.6823, allocations: 1.323 MB / 1.119 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.6827, allocations: 190.8 kB / 1.119 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.6828, allocations: 92.83 kB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.6828, allocations: 4 kB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.6829, allocations: 34.55 kB / 1.119 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.6829, allocations: 0 / 1.119 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0008946/0.6838, allocations: 408.9 kB / 1.12 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.6838, allocations: 51.41 kB / 1.12 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.6841, allocations: 300.6 kB / 1.12 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.6841, allocations: 25.7 kB / 1.12 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.6843, allocations: 200 kB / 1.12 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.6843, allocations: 74.94 kB / 1.12 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.6844, allocations: 41.7 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6845, allocations: 338.8 kB / 1.121 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.6847, allocations: 63.97 kB / 1.121 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.6848, allocations: 123.9 kB / 1.121 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.6851, allocations: 198.8 kB / 1.121 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6851, allocations: 0 / 1.121 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000346/0.6854, allocations: 250.8 kB / 1.121 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6854, allocations: 4 kB / 1.121 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6854, allocations: 7.984 kB / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6855, allocations: 0 / 1.121 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.6857, allocations: 43.92 kB / 1.121 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6857, allocations: 4 kB / 1.121 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.6859, allocations: 15.84 kB / 1.121 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.686, allocations: 12 kB / 1.121 GB, free: 0.9727 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.6861, allocations: 161.7 kB / 1.122 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.6862, allocations: 39.59 kB / 1.122 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.6863, allocations: 39.08 kB / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6863, allocations: 0 / 1.122 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6863, allocations: 4 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6863, allocations: 7.984 kB / 1.122 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.6868, allocations: 405.2 kB / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6868, allocations: 0 / 1.122 GB, free: 280 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.687, allocations: 39.86 kB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.6872, allocations: 48.83 kB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6872, allocations: 4 kB / 1.122 GB, free: 184 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.6883, allocations: 1.512 MB / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6883, allocations: 0 / 1.124 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.6889, allocations: 402 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.689, allocations: 124.8 kB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.689, allocations: 12 kB / 1.124 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.6893, allocations: 11.98 kB / 1.124 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.6893, allocations: 15.94 kB / 1.124 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.6893, allocations: 4 kB / 1.124 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002031/0.6895, allocations: 215.1 kB / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6896, allocations: 0 / 1.124 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00038/0.6899, allocations: 107.8 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008037/0.6907, allocations: 0.9531 MB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.691, allocations: 171.8 kB / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6911, allocations: 0 / 1.126 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.6913, allocations: 196.5 kB / 1.126 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/0.6923, allocations: 203.2 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.6954, allocations: 2.933 MB / 1.129 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6957, allocations: 0.7921 MB / 1.13 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.6959, allocations: 67.19 kB / 1.13 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.6961, allocations: 103.4 kB / 1.13 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.6961, allocations: 0 / 1.13 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.7244, allocations: 8.91 MB / 1.138 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.21/9.934, allocations: 7.359 kB / 1.138 GB, free: 15.33 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)