Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002704/0.002704, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.633/1.633, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9458/0.9458, allocations: 110.3 MB / 369.4 MB, free: 1.152 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5477 GB, free: 9.871 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.08e-05/4.286e-05, allocations: 2.812 kB / 0.5477 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00706/0.007103, allocations: 3.733 MB / 0.5514 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.0108, allocations: 1.328 MB / 0.5527 GB, free: 4.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.01127, allocations: 27.81 kB / 0.5527 GB, free: 4.762 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.01168, allocations: 134.6 kB / 0.5528 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.0121, allocations: 190.3 kB / 0.553 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.01309, allocations: 434.1 kB / 0.5534 GB, free: 4.02 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.01434, allocations: 0.9785 MB / 0.5544 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.01492, allocations: 282.6 kB / 0.5546 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.01565, allocations: 0.5067 MB / 0.5551 GB, free: 2.234 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.01601, allocations: 235.2 kB / 0.5554 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.01614, allocations: 92 kB / 0.5554 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.01628, allocations: 88 kB / 0.5555 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01647, allocations: 183.3 kB / 0.5557 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.01679, allocations: 255.3 kB / 0.556 GB, free: 1.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.01813, allocations: 1.129 MB / 0.5571 GB, free: 272 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.01813, allocations: 0 / 0.5571 GB, free: 272 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01813, allocations: 0 / 0.5571 GB, free: 272 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.01815, allocations: 4 kB / 0.5571 GB, free: 268 kB / 462.1 MB 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.002143/0.0203, allocations: 1.076 MB / 0.5581 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.02034, allocations: 8.031 kB / 0.5581 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.02051, allocations: 88.42 kB / 0.5582 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.02157, allocations: 0.5069 MB / 0.5587 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.02163, allocations: 45.69 kB / 0.5587 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.02174, allocations: 64.36 kB / 0.5588 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.02303, allocations: 0.6505 MB / 0.5594 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.02305, allocations: 4.141 kB / 0.5594 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.02312, allocations: 28.38 kB / 0.5595 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.02314, allocations: 15.94 kB / 0.5595 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.02422, allocations: 464.9 kB / 0.5599 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/0.02742, allocations: 1.686 MB / 0.5616 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.02846, allocations: 422.9 kB / 0.562 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.02897, allocations: 230.2 kB / 0.5622 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.02902, allocations: 4.5 kB / 0.5622 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/0.02964, allocations: 258.2 kB / 0.5624 GB, free: 10.56 MB / 478.1 MB Notification: Performance of pre-optimization done (n=49): time 3.847e-06/0.02965, allocations: 0 / 0.5624 GB, free: 10.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=49): time 0.001545/0.03119, allocations: 0.5865 MB / 0.563 GB, free: 9.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.03126, allocations: 63.84 kB / 0.5631 GB, free: 9.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.03184, allocations: 429.8 kB / 0.5635 GB, free: 9.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.0319, allocations: 41.69 kB / 0.5635 GB, free: 9.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.03222, allocations: 336.8 kB / 0.5639 GB, free: 9.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.03238, allocations: 166.5 kB / 0.564 GB, free: 8.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.03257, allocations: 94.3 kB / 0.5641 GB, free: 8.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.03279, allocations: 366.8 kB / 0.5644 GB, free: 8.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.03324, allocations: 194.9 kB / 0.5646 GB, free: 8.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.03375, allocations: 288.3 kB / 0.5649 GB, free: 7.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.0347, allocations: 447.3 kB / 0.5653 GB, free: 7.477 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.03471, allocations: 0 / 0.5653 GB, free: 7.477 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001176/0.03588, allocations: 0.5942 MB / 0.5659 GB, free: 6.863 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.03594, allocations: 43.64 kB / 0.566 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.03595, allocations: 4 kB / 0.566 GB, free: 6.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.03598, allocations: 4 kB / 0.566 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.0365, allocations: 107.9 kB / 0.5661 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.03651, allocations: 11.88 kB / 0.5661 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.03686, allocations: 59.64 kB / 0.5661 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.0369, allocations: 20 kB / 0.5662 GB, free: 6.613 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0003058/0.03721, allocations: 210.4 kB / 0.5664 GB, free: 6.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.03729, allocations: 55.66 kB / 0.5664 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.03744, allocations: 61.45 kB / 0.5665 GB, free: 6.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.03745, allocations: 8 kB / 0.5665 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.03747, allocations: 11.88 kB / 0.5665 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.03747, allocations: 3.984 kB / 0.5665 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.0393, allocations: 1 MB / 0.5675 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.0393, allocations: 0 / 0.5675 GB, free: 5.227 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.03979, allocations: 91.89 kB / 0.5676 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.0398, allocations: 4 kB / 0.5676 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.03984, allocations: 15.92 kB / 0.5676 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.03985, allocations: 3.938 kB / 0.5676 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.03985, allocations: 0 / 0.5676 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.04135, allocations: 0.7631 MB / 0.5683 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.04153, allocations: 91.56 kB / 0.5684 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.04161, allocations: 11.94 kB / 0.5684 GB, free: 4.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.0419, allocations: 27.97 kB / 0.5684 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.04201, allocations: 32.44 kB / 0.5685 GB, free: 4.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.04204, allocations: 12 kB / 0.5685 GB, free: 4.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.04243, allocations: 299.1 kB / 0.5688 GB, free: 3.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04243, allocations: 0 / 0.5688 GB, free: 3.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005133/0.04295, allocations: 151.6 kB / 0.5689 GB, free: 3.723 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.0002099/0.04316, allocations: 118.4 kB / 0.569 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.0442, allocations: 487.7 kB / 0.5695 GB, free: 3.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.0442, allocations: 0 / 0.5695 GB, free: 3.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.04465, allocations: 206.7 kB / 0.5697 GB, free: 2.898 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008306/0.04548, allocations: 148.5 kB / 0.5698 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.04871, allocations: 1.255 MB / 0.5711 GB, free: 1.469 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.04905, allocations: 296.7 kB / 0.5713 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002669/0.04931, allocations: 56.55 kB / 0.5714 GB, free: 1.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.04946, allocations: 52.48 kB / 0.5715 GB, free: 1.051 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.04946, allocations: 0 / 0.5715 GB, free: 1.051 MB / 478.1 MB Notification: Performance of Templates: time 0.0144/0.06387, allocations: 5.781 MB / 0.5771 GB, free: 11.42 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.117291208356619] Failed to read output from testmodel.py, exit status != 0: 0.07384016737341881 0.09075411200000001 0.069223459 Calling exit ...