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.001088/0.001088, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001032/0.001032, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9592/0.9592, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.6112/0.6112, allocations: 110.2 MB / 371.3 MB, free: 12.38 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.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 1.593e-06/1.593e-06, allocations: 0 / 475.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.517e-05, allocations: 3.734 kB / 475.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003606/0.003631, allocations: 2.904 MB / 478.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.005509, allocations: 0.9507 MB / 479.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003495/0.005858, allocations: 19.16 kB / 479.5 MB, free: 12.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.006104, allocations: 64.02 kB / 479.5 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.006309, allocations: 108.3 kB / 479.6 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.00686, allocations: 220.8 kB / 479.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.007319, allocations: 0.4962 MB / 480.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.007604, allocations: 148.2 kB / 480.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.008031, allocations: 280.9 kB / 480.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.008205, allocations: 120 kB / 480.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.008259, allocations: 42.28 kB / 480.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.343e-05/0.008342, allocations: 52 kB / 481 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.008395, allocations: 85.73 kB / 481.1 MB, free: 11.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.008489, allocations: 128.9 kB / 481.2 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.008922, allocations: 310 kB / 481.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008927, allocations: 0.625 kB / 481.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008928, allocations: 0 / 481.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.008934, allocations: 1.594 kB / 481.5 MB, free: 11.37 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.0007955/0.00973, allocations: 0.7401 MB / 482.2 MB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.009774, allocations: 12.44 kB / 482.2 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.009955, allocations: 87.52 kB / 482.3 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.01035, allocations: 359.3 kB / 482.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.01038, allocations: 29.02 kB / 482.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.01043, allocations: 27.94 kB / 482.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.01079, allocations: 348.2 kB / 483.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.01081, allocations: 3.875 kB / 483.1 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.01083, allocations: 8.375 kB / 483.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.01084, allocations: 11.5 kB / 483.1 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.011, allocations: 94.59 kB / 483.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.01213, allocations: 1.075 MB / 484.3 MB, free: 25.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.01242, allocations: 161.5 kB / 484.4 MB, free: 25.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/0.0125, allocations: 54.06 kB / 484.5 MB, free: 25.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.01253, allocations: 9.297 kB / 484.5 MB, free: 25.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.01255, allocations: 38.48 kB / 484.5 MB, free: 25.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.01255, allocations: 0 / 484.5 MB, free: 25.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003004/0.01285, allocations: 181.8 kB / 484.7 MB, free: 25.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.01288, allocations: 106.8 kB / 484.8 MB, free: 24.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.01312, allocations: 363.9 kB / 485.2 MB, free: 24.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.01313, allocations: 29.7 kB / 485.2 MB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01326, allocations: 271.4 kB / 485.5 MB, free: 24.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.01331, allocations: 80.2 kB / 485.5 MB, free: 24.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.01338, allocations: 56.52 kB / 485.6 MB, free: 24.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.01353, allocations: 0.5218 MB / 486.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.01359, allocations: 29.06 kB / 486.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.963e-05/0.01369, allocations: 178.5 kB / 486.3 MB, free: 23.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.01383, allocations: 138 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01384, allocations: 3.938 kB / 486.5 MB, free: 23.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002558/0.01409, allocations: 196.1 kB / 486.6 MB, free: 23.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01411, allocations: 6.25 kB / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01412, allocations: 1.156 kB / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01413, allocations: 7.719 kB / 486.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.0143, allocations: 50.42 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.0143, allocations: 4.688 kB / 486.7 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.0144, allocations: 25.62 kB / 486.7 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01441, allocations: 13.84 kB / 486.8 MB, free: 23.45 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.0001217/0.01454, allocations: 171.9 kB / 486.9 MB, free: 23.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.01459, allocations: 39.73 kB / 487 MB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.01465, allocations: 44.02 kB / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01465, allocations: 6.844 kB / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.01465, allocations: 0 / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01466, allocations: 1.562 kB / 487 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.0149, allocations: 222 kB / 487.2 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.0149, allocations: 1.438 kB / 487.2 MB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.01504, allocations: 46.03 kB / 487.3 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01504, allocations: 2.281 kB / 487.3 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01506, allocations: 4 kB / 487.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01506, allocations: 3.25 kB / 487.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01506, allocations: 0 / 487.3 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.01538, allocations: 345.4 kB / 487.6 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.01546, allocations: 50.89 kB / 487.7 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.01548, allocations: 7.188 kB / 487.7 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01558, allocations: 9.5 kB / 487.7 MB, free: 22.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01563, allocations: 25.06 kB / 487.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01564, allocations: 3.688 kB / 487.7 MB, free: 22.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.01578, allocations: 241.1 kB / 488 MB, free: 22.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01578, allocations: 0 / 488 MB, free: 22.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.01606, allocations: 70.09 kB / 488 MB, free: 22.61 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.000108/0.01617, allocations: 102.1 kB / 488.1 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.01637, allocations: 112.4 kB / 488.2 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01638, allocations: 0 / 488.2 MB, free: 22.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.01646, allocations: 76.97 kB / 488.3 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.01686, allocations: 90.88 kB / 488.4 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.01797, allocations: 0.6332 MB / 489 MB, free: 22.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.01803, allocations: 104.5 kB / 489.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.01814, allocations: 35.56 kB / 489.2 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.01832, allocations: 139.8 kB / 489.3 MB, free: 21.89 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01832, allocations: 0 / 489.3 MB, free: 21.89 MB / 426.7 MB Notification: Performance of Templates: time 0.00694/0.02526, allocations: 3.611 MB / 492.9 MB, free: 21.55 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: 3.439545218832791]