Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.0009269/0.0009269, allocations: 88.33 kB / 20.46 MB, free: 4.121 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.0009082/0.0009082, allocations: 165 kB / 23.82 MB, free: 0.7539 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.9704/0.9704, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.5762/0.5762, allocations: 110.2 MB / 371 MB, free: 12.51 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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.52e-05, allocations: 6.656 kB / 475.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003355/0.00338, allocations: 3.117 MB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004722, allocations: 1.013 MB / 479.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.004919, allocations: 18.31 kB / 479.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.005129, allocations: 71.88 kB / 479.4 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.005266, allocations: 111 kB / 479.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.005703, allocations: 249.6 kB / 479.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.006042, allocations: 0.5609 MB / 480.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.006301, allocations: 165.9 kB / 480.4 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.006607, allocations: 323.5 kB / 480.8 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.006763, allocations: 154.1 kB / 480.9 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.006815, allocations: 51.75 kB / 481 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.382e-05/0.006889, allocations: 55.5 kB / 481 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.006941, allocations: 109.9 kB / 481.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.007032, allocations: 151.5 kB / 481.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.007362, allocations: 357.3 kB / 481.6 MB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.007365, allocations: 4 kB / 481.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.007366, allocations: 3.688 kB / 481.6 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.007373, allocations: 0 / 481.6 MB, free: 11.18 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0006877/0.008061, allocations: 0.7964 MB / 482.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008095, allocations: 9.188 kB / 482.4 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.008255, allocations: 98.56 kB / 482.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.008618, allocations: 382 kB / 482.9 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.008646, allocations: 31.38 kB / 482.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.008692, allocations: 38.72 kB / 483 MB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.009058, allocations: 384.1 kB / 483.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.009072, allocations: 0.6875 kB / 483.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.009094, allocations: 12.38 kB / 483.4 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.009106, allocations: 13.16 kB / 483.4 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.009331, allocations: 149.6 kB / 483.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.0105, allocations: 1.231 MB / 484.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.01085, allocations: 228.2 kB / 485 MB, free: 24.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.01096, allocations: 80.41 kB / 485 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.01099, allocations: 12.47 kB / 485.1 MB, free: 24.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.01115, allocations: 141.6 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.01115, allocations: 2.781 kB / 485.2 MB, free: 24.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003977/0.01155, allocations: 280.3 kB / 485.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.01159, allocations: 82.11 kB / 485.6 MB, free: 24.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01183, allocations: 371.2 kB / 485.9 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01185, allocations: 32.55 kB / 485.9 MB, free: 24.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01196, allocations: 292.7 kB / 486.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.01201, allocations: 106 kB / 486.3 MB, free: 24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.01209, allocations: 80.89 kB / 486.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.01236, allocations: 0.518 MB / 486.9 MB, free: 23.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.01244, allocations: 51.73 kB / 487 MB, free: 23.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.01256, allocations: 166.3 kB / 487.1 MB, free: 23.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.01275, allocations: 192.2 kB / 487.3 MB, free: 23.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01275, allocations: 1.406 kB / 487.3 MB, free: 23.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002858/0.01304, allocations: 271.2 kB / 487.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01305, allocations: 6.375 kB / 487.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01306, allocations: 5.531 kB / 487.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.01308, allocations: 4.281 kB / 487.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.01324, allocations: 71.47 kB / 487.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.01325, allocations: 5.922 kB / 487.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.007e-05/0.01333, allocations: 31.47 kB / 487.7 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.01334, allocations: 14.12 kB / 487.7 MB, free: 23.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001045/0.01345, allocations: 182.7 kB / 487.9 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.01349, allocations: 49.45 kB / 488 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.01353, allocations: 44.53 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01354, allocations: 2.656 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01354, allocations: 1.094 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01355, allocations: 3.719 kB / 488 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.01411, allocations: 0.6534 MB / 488.7 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01411, allocations: 0 / 488.7 MB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.01425, allocations: 50.66 kB / 488.7 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01425, allocations: 6.016 kB / 488.7 MB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01427, allocations: 6.719 kB / 488.7 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.01427, allocations: 1.375 kB / 488.7 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01427, allocations: 0.875 kB / 488.7 MB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.01468, allocations: 444.1 kB / 489.2 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.01474, allocations: 73.38 kB / 489.2 MB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.01477, allocations: 10.22 kB / 489.2 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.01485, allocations: 13.34 kB / 489.3 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.01491, allocations: 26.81 kB / 489.3 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.01492, allocations: 10.12 kB / 489.3 MB, free: 22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.01509, allocations: 249.1 kB / 489.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01509, allocations: 1.5 kB / 489.5 MB, free: 21.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.01535, allocations: 85.56 kB / 489.6 MB, free: 21.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001096/0.01546, allocations: 107 kB / 489.7 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00029/0.01575, allocations: 184.8 kB / 489.9 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01575, allocations: 4.688 kB / 489.9 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01588, allocations: 97.06 kB / 490 MB, free: 21.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.01623, allocations: 86.72 kB / 490.1 MB, free: 21.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.0176, allocations: 0.7598 MB / 490.9 MB, free: 21.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.01767, allocations: 107.9 kB / 491 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.01779, allocations: 40.61 kB / 491 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.01788, allocations: 33.83 kB / 491 MB, free: 21.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/0.01788, allocations: 1.219 kB / 491 MB, free: 21.09 MB / 426.7 MB Notification: Performance of Templates: time 0.009121/0.027, allocations: 3.746 MB / 494.8 MB, free: 20.78 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.804219152312726]