Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009643/0.0009641, allocations: 182.3 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0008603/0.0008603, allocations: 97.89 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004518, allocations: 13.5 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.192, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.952/4.144, allocations: 2.187 GB / 3.088 GB, free: 32.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/4.144, allocations: 92.73 kB / 3.088 GB, free: 32.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7944/4.939, allocations: 160.2 MB / 3.245 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.412e-06/4.939, allocations: 3.938 kB / 3.245 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.73e-05/4.939, allocations: 12 kB / 3.245 GB, free: 234.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001257/4.94, allocations: 0.6701 MB / 3.245 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/4.94, allocations: 12.03 kB / 3.245 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/4.941, allocations: 132.4 kB / 3.245 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/4.942, allocations: 423.8 kB / 3.246 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/4.942, allocations: 21.5 kB / 3.246 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/4.942, allocations: 32 kB / 3.246 GB, free: 233 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/4.942, allocations: 279.6 kB / 3.246 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/4.942, allocations: 3.906 kB / 3.246 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/4.942, allocations: 12 kB / 3.246 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/4.942, allocations: 8.562 kB / 3.246 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/4.943, allocations: 202.1 kB / 3.246 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/4.944, allocations: 1.309 MB / 3.248 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/4.945, allocations: 198.8 kB / 3.248 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/4.945, allocations: 84.83 kB / 3.248 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/4.945, allocations: 4 kB / 3.248 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/4.945, allocations: 31.94 kB / 3.248 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/4.945, allocations: 0 / 3.248 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.000857/4.946, allocations: 398.2 kB / 3.248 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/4.946, allocations: 55.41 kB / 3.248 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/4.946, allocations: 304.5 kB / 3.249 GB, free: 230 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/4.946, allocations: 29.7 kB / 3.249 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/4.946, allocations: 200.3 kB / 3.249 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/4.946, allocations: 66.95 kB / 3.249 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/4.946, allocations: 8 kB / 3.249 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/4.946, allocations: 342.7 kB / 3.249 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/4.946, allocations: 67.91 kB / 3.249 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/4.947, allocations: 110.8 kB / 3.249 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/4.947, allocations: 189.9 kB / 3.25 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/4.947, allocations: 0 / 3.25 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002997/4.947, allocations: 246.6 kB / 3.25 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/4.947, allocations: 8 kB / 3.25 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/4.947, allocations: 0 / 3.25 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/4.947, allocations: 4 kB / 3.25 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/4.947, allocations: 43.92 kB / 3.25 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/4.947, allocations: 0 / 3.25 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/4.948, allocations: 35.95 kB / 3.25 GB, free: 228.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/4.948, allocations: 4 kB / 3.25 GB, free: 228.6 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/4.948, allocations: 165.8 kB / 3.25 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/4.948, allocations: 31.62 kB / 3.25 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/4.948, allocations: 39.08 kB / 3.25 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/4.948, allocations: 0 / 3.25 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/4.948, allocations: 4 kB / 3.25 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/4.948, allocations: 3.938 kB / 3.25 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/4.948, allocations: 413.2 kB / 3.251 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/4.948, allocations: 0 / 3.251 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/4.949, allocations: 35.92 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001985/4.949, allocations: 40.83 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/4.949, allocations: 7.984 kB / 3.251 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008654/4.95, allocations: 1.409 MB / 3.252 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/4.95, allocations: 4.031 kB / 3.252 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/4.95, allocations: 410 kB / 3.252 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/4.95, allocations: 128.8 kB / 3.253 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/4.95, allocations: 7.938 kB / 3.253 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/4.951, allocations: 19.83 kB / 3.253 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/4.951, allocations: 11.98 kB / 3.253 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/4.951, allocations: 11.98 kB / 3.253 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001858/4.951, allocations: 215.1 kB / 3.253 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/4.951, allocations: 4 kB / 3.253 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006289/4.952, allocations: 167.8 kB / 3.253 GB, free: 225.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/4.953, allocations: 0.7246 MB / 3.254 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000282/4.953, allocations: 163.9 kB / 3.254 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/4.953, allocations: 0 / 3.254 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/4.953, allocations: 205 kB / 3.254 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/4.954, allocations: 187.5 kB / 3.254 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/4.955, allocations: 0.9604 MB / 3.255 GB, free: 223 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/4.956, allocations: 0.7923 MB / 3.256 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003102/4.956, allocations: 62.92 kB / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/4.956, allocations: 31.38 kB / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/4.956, allocations: 3.938 kB / 3.256 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.0198/4.976, allocations: 15.09 MB / 3.271 GB, free: 207.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)