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.0008558/0.0008558, allocations: 88.7 kB / 20.2 MB, free: 4.23 MB / 18.57 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.0008291/0.0008291, allocations: 161.3 kB / 23.51 MB, free: 0.918 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.5626/0.5626, allocations: 110.2 MB / 370.6 MB, free: 12.47 MB / 346.7 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 1.663e-06/1.663e-06, allocations: 0 / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.125e-05, allocations: 5.844 kB / 474.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003625/0.003656, allocations: 3.739 MB / 478.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.005654, allocations: 1.333 MB / 479.4 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.005964, allocations: 29.84 kB / 479.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.006229, allocations: 131 kB / 479.6 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.006467, allocations: 188.5 kB / 479.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.007054, allocations: 419.1 kB / 480.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006244/0.007678, allocations: 0.9822 MB / 481.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.008046, allocations: 287.2 kB / 481.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004022/0.008448, allocations: 0.4957 MB / 481.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.00867, allocations: 240.5 kB / 482.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.008759, allocations: 91.09 kB / 482.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.008848, allocations: 91.31 kB / 482.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.364e-05/0.008931, allocations: 182.2 kB / 482.5 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.009105, allocations: 251.4 kB / 482.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.009773, allocations: 1.131 MB / 483.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.009777, allocations: 0 / 483.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.009779, allocations: 1.906 kB / 483.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.453e-05/0.009803, allocations: 0 / 483.9 MB, free: 9.508 MB / 410.7 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.001275/0.01108, allocations: 1.076 MB / 485 MB, free: 8.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.01112, allocations: 9.344 kB / 485 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.01127, allocations: 135.5 kB / 485.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.0119, allocations: 0.5261 MB / 485.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.01193, allocations: 46.09 kB / 485.7 MB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.012, allocations: 56.78 kB / 485.8 MB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000774/0.01277, allocations: 0.6605 MB / 486.4 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.01279, allocations: 1.625 kB / 486.4 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.01283, allocations: 26.06 kB / 486.4 MB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01284, allocations: 17.81 kB / 486.5 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.01351, allocations: 459.3 kB / 486.9 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.01552, allocations: 1.722 MB / 488.6 MB, free: 22.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.01614, allocations: 425.3 kB / 489.1 MB, free: 22.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.01642, allocations: 227.3 kB / 489.3 MB, free: 22.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.01646, allocations: 8.625 kB / 489.3 MB, free: 22.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.01684, allocations: 260.2 kB / 489.5 MB, free: 22.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.887e-06/0.01684, allocations: 0 / 489.5 MB, free: 22.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009079/0.01775, allocations: 0.6015 MB / 490.1 MB, free: 22.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.01778, allocations: 62 kB / 490.2 MB, free: 21.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.01813, allocations: 433.6 kB / 490.6 MB, free: 21.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.01816, allocations: 33.39 kB / 490.7 MB, free: 21.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.0183, allocations: 337 kB / 491 MB, free: 21.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.01837, allocations: 172.6 kB / 491.2 MB, free: 21.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-05/0.01847, allocations: 89.59 kB / 491.2 MB, free: 21.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01858, allocations: 368.2 kB / 491.6 MB, free: 20.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.01885, allocations: 193.1 kB / 491.8 MB, free: 20.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.01912, allocations: 278.3 kB / 492.1 MB, free: 20.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.0196, allocations: 457.4 kB / 492.5 MB, free: 20.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01961, allocations: 1.469 kB / 492.5 MB, free: 20.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006571/0.02026, allocations: 0.6104 MB / 493.1 MB, free: 20.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.0203, allocations: 32.36 kB / 493.2 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.0203, allocations: 1.625 kB / 493.2 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.02032, allocations: 5.25 kB / 493.2 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.02061, allocations: 114.1 kB / 493.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.02062, allocations: 10.12 kB / 493.3 MB, free: 20.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.02078, allocations: 56.41 kB / 493.3 MB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.02081, allocations: 22.33 kB / 493.4 MB, free: 20.04 MB / 426.7 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.0001786/0.02099, allocations: 207.4 kB / 493.6 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.02105, allocations: 74.31 kB / 493.6 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.02112, allocations: 65.69 kB / 493.7 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02112, allocations: 5.062 kB / 493.7 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.02113, allocations: 5.438 kB / 493.7 MB, free: 19.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02114, allocations: 8.656 kB / 493.7 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.02218, allocations: 0.9971 MB / 494.7 MB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02218, allocations: 4.906 kB / 494.7 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.02244, allocations: 92.47 kB / 494.8 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.02244, allocations: 3 kB / 494.8 MB, free: 19.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.02246, allocations: 15.47 kB / 494.8 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.02247, allocations: 2.156 kB / 494.8 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02247, allocations: 0 / 494.8 MB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.02332, allocations: 0.7747 MB / 495.6 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.02342, allocations: 99.02 kB / 495.7 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.02346, allocations: 14.53 kB / 495.7 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.0236, allocations: 25.64 kB / 495.7 MB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.02367, allocations: 41.64 kB / 495.8 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.02369, allocations: 15.08 kB / 495.8 MB, free: 18.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00025/0.02394, allocations: 298.5 kB / 496.1 MB, free: 18.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02394, allocations: 0 / 496.1 MB, free: 18.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.02429, allocations: 141.2 kB / 496.2 MB, free: 18.49 MB / 426.7 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.0001043/0.0244, allocations: 116.2 kB / 496.3 MB, free: 18.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.02498, allocations: 492 kB / 496.8 MB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02498, allocations: 0 / 496.8 MB, free: 18.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.02523, allocations: 207.9 kB / 497 MB, free: 18.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.02571, allocations: 154.1 kB / 497.2 MB, free: 18.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.02745, allocations: 1.271 MB / 498.4 MB, free: 17.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.02766, allocations: 298.7 kB / 498.7 MB, free: 17.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.02788, allocations: 62.41 kB / 498.8 MB, free: 17.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.02796, allocations: 38.88 kB / 498.8 MB, free: 17.26 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02796, allocations: 0 / 498.8 MB, free: 17.26 MB / 426.7 MB Notification: Performance of Templates: time 0.00973/0.03769, allocations: 5.812 MB / 0.4928 GB, free: 16.27 MB / 426.7 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.346707111224532] Failed to read output from testmodel.py, exit status != 0: 0.04298164322972298 0.052938342000000006 0.041021399 Calling exit ...