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.381/1.381, allocations: 252 MB / 268 MB, free: 10.84 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.001032/0.001032, allocations: 190.1 kB / 327.6 MB, free: 2.066 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.532/1.532, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007245/0.0007248, allocations: 90.03 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002907, allocations: 9.781 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1806, allocations: 106.3 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1517/0.3324, allocations: 158.1 MB / 1.056 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4415/0.7739, allocations: 2.912 MB / 1.059 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.7745, allocations: 10.56 kB / 1.059 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.7752, allocations: 178.6 kB / 1.059 GB, free: 2.059 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.777, allocations: 0.7383 MB / 1.06 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.7778, allocations: 319.6 kB / 1.06 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.7792, allocations: 1.296 MB / 1.061 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.7796, allocations: 218.7 kB / 1.061 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.7802, allocations: 304.8 kB / 1.062 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.7811, allocations: 283.1 kB / 1.062 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.7812, allocations: 17.53 kB / 1.062 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.7826, allocations: 0.7411 MB / 1.063 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.7828, allocations: 112.9 kB / 1.063 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.7831, allocations: 221.9 kB / 1.063 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.7839, allocations: 0.5643 MB / 1.064 GB, free: 1.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.784, allocations: 2.906 kB / 1.064 GB, free: 1.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.784, allocations: 0.6094 kB / 1.064 GB, free: 1.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.784, allocations: 0 / 1.064 GB, free: 1.91 MB / 0.698 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.00115/0.7851, allocations: 0.6497 MB / 1.064 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7852, allocations: 9.703 kB / 1.064 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.7862, allocations: 136.1 kB / 1.064 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.7868, allocations: 405 kB / 1.065 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.7869, allocations: 21.47 kB / 1.065 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.7869, allocations: 27.58 kB / 1.065 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.7874, allocations: 281.5 kB / 1.065 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.7874, allocations: 0 / 1.065 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.7875, allocations: 16.11 kB / 1.065 GB, free: 17.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.7875, allocations: 10.45 kB / 1.065 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.7879, allocations: 197.3 kB / 1.065 GB, free: 17.08 MB / 0.7136 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.001776/0.7897, allocations: 1.339 MB / 1.067 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.7901, allocations: 204.2 kB / 1.067 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.7902, allocations: 83.03 kB / 1.067 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.7902, allocations: 3.938 kB / 1.067 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7903, allocations: 37.22 kB / 1.067 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.7903, allocations: 0 / 1.067 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0008945/0.7912, allocations: 399.4 kB / 1.067 GB, free: 16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.7912, allocations: 54.44 kB / 1.067 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.7915, allocations: 304.3 kB / 1.068 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.7916, allocations: 33.33 kB / 1.068 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.7917, allocations: 193 kB / 1.068 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.585e-05/0.7918, allocations: 68.55 kB / 1.068 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.7918, allocations: 6.531 kB / 1.068 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.7919, allocations: 341.2 kB / 1.068 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.792, allocations: 59.05 kB / 1.068 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.7922, allocations: 117.7 kB / 1.068 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.7924, allocations: 192 kB / 1.069 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7924, allocations: 4.688 kB / 1.069 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003773/0.7928, allocations: 237.6 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7929, allocations: 5.812 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7929, allocations: 5.328 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.7929, allocations: 2.938 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.7931, allocations: 47.77 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.7931, allocations: 3.562 kB / 1.069 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.7934, allocations: 26.61 kB / 1.069 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.7935, allocations: 6.156 kB / 1.069 GB, free: 15.14 MB / 0.7136 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.0001795/0.7936, allocations: 169.7 kB / 1.069 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.7937, allocations: 31.62 kB / 1.069 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.285e-05/0.7938, allocations: 39.02 kB / 1.069 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.7938, allocations: 5.219 kB / 1.069 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.7938, allocations: 1.25 kB / 1.069 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.7938, allocations: 5.266 kB / 1.069 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.7944, allocations: 408.4 kB / 1.07 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7944, allocations: 0.625 kB / 1.07 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.7946, allocations: 36.19 kB / 1.07 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002523/0.7949, allocations: 42.02 kB / 1.07 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.7949, allocations: 5.625 kB / 1.07 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.7962, allocations: 1.413 MB / 1.071 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7962, allocations: 9.25 kB / 1.071 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.7968, allocations: 404.5 kB / 1.071 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.797, allocations: 136 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.797, allocations: 10.27 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.7974, allocations: 15.06 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.7974, allocations: 10.69 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.7974, allocations: 5.875 kB / 1.072 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002759/0.7977, allocations: 222 kB / 1.072 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.343e-06/0.7977, allocations: 0 / 1.072 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004799/0.7982, allocations: 115.5 kB / 1.072 GB, free: 13.15 MB / 0.7136 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 (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.0001959/0.7984, allocations: 116.4 kB / 1.072 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.7988, allocations: 161.8 kB / 1.072 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.7988, allocations: 0.875 kB / 1.072 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.7992, allocations: 199.6 kB / 1.072 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.8002, allocations: 200.3 kB / 1.073 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.8016, allocations: 0.963 MB / 1.073 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.8021, allocations: 0.7973 MB / 1.074 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.129e-05/0.8022, allocations: 27.69 kB / 1.074 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of SimCode: time 6.72e-07/0.8022, allocations: 4 kB / 1.074 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.01008/0.8123, allocations: 5.746 MB / 1.08 GB, free: 11.18 MB / 0.7136 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)