Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.002044/0.002044, allocations: 91.67 kB / 20.24 MB, free: 4.188 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.002235/0.002235, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.738/1.738, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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 1.076/1.076, allocations: 110.2 MB / 370.6 MB, free: 12.48 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 178] 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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 4.922 kB / 474.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.619e-05/4.838e-05, allocations: 2.312 kB / 474.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004846/0.004895, allocations: 2.923 MB / 477.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.007374, allocations: 0.9535 MB / 478.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.007673, allocations: 21.03 kB / 478.3 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.007968, allocations: 64.14 kB / 478.4 MB, free: 12.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.008182, allocations: 102.1 kB / 478.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.008757, allocations: 222.2 kB / 478.7 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.009292, allocations: 0.4987 MB / 479.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.009634, allocations: 144.9 kB / 479.3 MB, free: 12.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.01006, allocations: 274.1 kB / 479.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.01028, allocations: 129.2 kB / 479.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/0.01035, allocations: 44.19 kB / 479.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.01045, allocations: 49.5 kB / 479.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.01053, allocations: 96.36 kB / 479.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.01067, allocations: 124.2 kB / 480 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006587/0.01133, allocations: 0.5524 MB / 480.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.01133, allocations: 2.656 kB / 480.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.01134, allocations: 0 / 480.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.01135, allocations: 1.75 kB / 480.6 MB, free: 11.56 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00126/0.01261, allocations: 0.7717 MB / 481.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.01266, allocations: 11.34 kB / 481.4 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.01294, allocations: 83.39 kB / 481.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.01354, allocations: 366.2 kB / 481.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.01358, allocations: 22.12 kB / 481.8 MB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.01363, allocations: 27.59 kB / 481.9 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.01423, allocations: 445.4 kB / 482.3 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.01425, allocations: 192 / 482.3 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.01429, allocations: 13.81 kB / 482.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.0143, allocations: 11.44 kB / 482.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.01478, allocations: 206.6 kB / 482.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.01703, allocations: 1.291 MB / 483.8 MB, free: 25.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005956/0.01763, allocations: 228.2 kB / 484 MB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.01786, allocations: 109.8 kB / 484.1 MB, free: 25.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.0179, allocations: 6.219 kB / 484.2 MB, free: 25.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.01793, allocations: 36.3 kB / 484.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.01793, allocations: 0 / 484.2 MB, free: 25.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006971/0.01863, allocations: 290.9 kB / 484.5 MB, free: 24.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.01869, allocations: 110.4 kB / 484.6 MB, free: 24.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.01924, allocations: 457.9 kB / 485 MB, free: 24.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.01926, allocations: 32.42 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.0195, allocations: 297.4 kB / 485.3 MB, free: 24.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.01957, allocations: 87.44 kB / 485.4 MB, free: 24.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.01968, allocations: 68.19 kB / 485.5 MB, free: 24.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/0.02001, allocations: 0.5432 MB / 486 MB, free: 23.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.02019, allocations: 69.52 kB / 486.1 MB, free: 23.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.02045, allocations: 228.9 kB / 486.3 MB, free: 23.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.02086, allocations: 230.6 kB / 486.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02086, allocations: 1.031 kB / 486.6 MB, free: 23.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005415/0.0214, allocations: 286.1 kB / 486.8 MB, free: 23.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.02143, allocations: 5.281 kB / 486.8 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.02144, allocations: 11.34 kB / 486.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.02147, allocations: 3.25 kB / 486.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.02171, allocations: 51.89 kB / 486.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.02173, allocations: 3.625 kB / 486.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.02188, allocations: 25.39 kB / 486.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.02191, allocations: 11.12 kB / 486.9 MB, free: 23.1 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002385/0.02215, allocations: 204.9 kB / 487.1 MB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.79e-05/0.02224, allocations: 45.17 kB / 487.2 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.02234, allocations: 46.22 kB / 487.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.02235, allocations: 6.172 kB / 487.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.02236, allocations: 0 / 487.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02236, allocations: 0 / 487.2 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.02285, allocations: 355.5 kB / 487.6 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02285, allocations: 0 / 487.6 MB, free: 22.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.02308, allocations: 49.41 kB / 487.6 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02308, allocations: 1.25 kB / 487.6 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.0231, allocations: 1.219 kB / 487.6 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.02311, allocations: 6.375 kB / 487.6 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02311, allocations: 0 / 487.6 MB, free: 22.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.02394, allocations: 479.4 kB / 488.1 MB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.02405, allocations: 49.94 kB / 488.2 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.02409, allocations: 10.28 kB / 488.2 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02424, allocations: 15.58 kB / 488.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.02433, allocations: 21.14 kB / 488.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.02435, allocations: 4.281 kB / 488.2 MB, free: 22.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000346/0.0247, allocations: 297.4 kB / 488.5 MB, free: 22.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0247, allocations: 1.281 kB / 488.5 MB, free: 22.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.02507, allocations: 69.81 kB / 488.6 MB, free: 22.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001973/0.02526, allocations: 106.1 kB / 488.7 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.02579, allocations: 208.8 kB / 488.9 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02579, allocations: 0 / 488.9 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.02601, allocations: 106.2 kB / 489 MB, free: 21.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/0.02662, allocations: 89.14 kB / 489.1 MB, free: 21.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.02812, allocations: 0.6946 MB / 489.8 MB, free: 21.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.02836, allocations: 188.6 kB / 490 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.02852, allocations: 34.09 kB / 490 MB, free: 21.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.02862, allocations: 36.36 kB / 490 MB, free: 21.29 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02862, allocations: 0 / 490 MB, free: 21.29 MB / 426.7 MB Notification: Performance of Templates: time 0.009891/0.03851, allocations: 3.284 MB / 493.3 MB, free: 21.03 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.570802551927045]