Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0114/0.0114, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 195.3 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 0.7257 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7885, allocations: 104.7 MB / 0.828 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006685/0.7953, allocations: 4.14 MB / 0.832 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.7984, allocations: 1.38 MB / 0.8334 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.7989, allocations: 23.88 kB / 0.8334 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.7994, allocations: 126.8 kB / 0.8335 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.7998, allocations: 190.3 kB / 0.8337 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.8008, allocations: 411.1 kB / 0.8341 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009395/0.8017, allocations: 0.9554 MB / 0.835 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.8024, allocations: 465.6 kB / 0.8355 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004502/0.8029, allocations: 342.7 kB / 0.8358 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.8033, allocations: 330.4 kB / 0.8361 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.8034, allocations: 92 kB / 0.8362 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.8035, allocations: 92 kB / 0.8363 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.8037, allocations: 179.4 kB / 0.8365 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.804, allocations: 386.1 kB / 0.8368 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.805, allocations: 1.069 MB / 0.8379 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.805, allocations: 0 / 0.8379 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8051, allocations: 4 kB / 0.8379 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.8051, allocations: 0 / 0.8379 GB, free: 8.418 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002078/0.8072, allocations: 1.077 MB / 0.8389 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8072, allocations: 8.031 kB / 0.839 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.8074, allocations: 83.91 kB / 0.839 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000969/0.8083, allocations: 0.5651 MB / 0.8396 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.8084, allocations: 41.69 kB / 0.8396 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.8085, allocations: 56.38 kB / 0.8397 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.8096, allocations: 0.6117 MB / 0.8403 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.8097, allocations: 0 / 0.8403 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.8097, allocations: 28 kB / 0.8403 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.8097, allocations: 12 kB / 0.8403 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.8108, allocations: 461 kB / 0.8408 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.8137, allocations: 1.985 MB / 0.8427 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.8146, allocations: 445.2 kB / 0.8431 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.8151, allocations: 243.1 kB / 0.8434 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.8151, allocations: 12.38 kB / 0.8434 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005493/0.8157, allocations: 261.2 kB / 0.8436 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.785e-06/0.8157, allocations: 0 / 0.8436 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001291/0.817, allocations: 0.5844 MB / 0.8442 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.817, allocations: 59.78 kB / 0.8442 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.8176, allocations: 450.7 kB / 0.8447 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.8176, allocations: 41.64 kB / 0.8447 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.8179, allocations: 320.3 kB / 0.845 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.8181, allocations: 173.6 kB / 0.8452 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.8182, allocations: 94.16 kB / 0.8453 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8184, allocations: 362.8 kB / 0.8456 GB, free: 256 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.8188, allocations: 173 kB / 0.8458 GB, free: 80 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.8192, allocations: 241.8 kB / 0.846 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.8201, allocations: 456 kB / 0.8464 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.8201, allocations: 4 kB / 0.8464 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001078/0.8212, allocations: 0.5586 MB / 0.847 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.8212, allocations: 33.64 kB / 0.847 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.8212, allocations: 4 kB / 0.847 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.8213, allocations: 4 kB / 0.847 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.8218, allocations: 115.8 kB / 0.8471 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.8218, allocations: 7.984 kB / 0.8472 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.8222, allocations: 51.58 kB / 0.8472 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.8222, allocations: 20.19 kB / 0.8472 GB, free: 14.53 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003009/0.8226, allocations: 225.6 kB / 0.8474 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.8226, allocations: 59.28 kB / 0.8475 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.8228, allocations: 61.59 kB / 0.8476 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.8228, allocations: 4 kB / 0.8476 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.8228, allocations: 0 / 0.8476 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.8228, allocations: 3.984 kB / 0.8476 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.8246, allocations: 1.174 MB / 0.8487 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8246, allocations: 0 / 0.8487 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004652/0.8251, allocations: 95.88 kB / 0.8488 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.8251, allocations: 4 kB / 0.8488 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.8251, allocations: 12 kB / 0.8488 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.8252, allocations: 0 / 0.8488 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8252, allocations: 0 / 0.8488 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.8266, allocations: 0.7689 MB / 0.8496 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.8268, allocations: 168.3 kB / 0.8497 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/0.8268, allocations: 11.98 kB / 0.8497 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.8271, allocations: 27.98 kB / 0.8498 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8272, allocations: 32.39 kB / 0.8498 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.8273, allocations: 19.92 kB / 0.8498 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003485/0.8276, allocations: 310.8 kB / 0.8501 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8276, allocations: 0 / 0.8501 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004986/0.8281, allocations: 147.4 kB / 0.8502 GB, free: 11.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.8283, allocations: 123 kB / 0.8504 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.8294, allocations: 481 kB / 0.8508 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.8294, allocations: 0 / 0.8508 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.8298, allocations: 214.9 kB / 0.851 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008655/0.8307, allocations: 159.3 kB / 0.8512 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.8336, allocations: 1.33 MB / 0.8525 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.8341, allocations: 0.8937 MB / 0.8534 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003031/0.8345, allocations: 64.58 kB / 0.8534 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.8346, allocations: 43.44 kB / 0.8535 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.8346, allocations: 0 / 0.8535 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of Templates: time 0.01318/0.8478, allocations: 6.015 MB / 0.8593 GB, free: 2.031 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)