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.001408/0.001408, allocations: 96.2 kB / 20.47 MB, free: 4.129 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.001686/0.001686, allocations: 157 kB / 23.82 MB, free: 0.7734 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.04/1.04, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.6495/0.6495, allocations: 110.3 MB / 371 MB, free: 12.57 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.503e-06/1.503e-06, allocations: 0 / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.24e-05, allocations: 3.719 kB / 475.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003036/0.003058, allocations: 2.966 MB / 478.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.004181, allocations: 0.962 MB / 479.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.004362, allocations: 21.5 kB / 479.1 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.004526, allocations: 67.58 kB / 479.2 MB, free: 12.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.004645, allocations: 91.23 kB / 479.3 MB, free: 12.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.004989, allocations: 228.1 kB / 479.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.005329, allocations: 0.4995 MB / 480 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.005543, allocations: 137.9 kB / 480.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.005796, allocations: 283.9 kB / 480.4 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.005921, allocations: 127.5 kB / 480.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.005964, allocations: 43.5 kB / 480.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.006023, allocations: 45.25 kB / 480.6 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.006062, allocations: 97 kB / 480.7 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.00613, allocations: 133.3 kB / 480.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.006391, allocations: 307.7 kB / 481.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006393, allocations: 0 / 481.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006394, allocations: 1.125 kB / 481.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.006398, allocations: 0 / 481.1 MB, free: 11.53 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.0006988/0.007097, allocations: 0.738 MB / 481.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.007144, allocations: 8.781 kB / 481.9 MB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.007301, allocations: 88.61 kB / 482 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.007673, allocations: 367.7 kB / 482.3 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.007699, allocations: 23.28 kB / 482.3 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.007738, allocations: 31.56 kB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.008062, allocations: 365.8 kB / 482.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008073, allocations: 1.406 kB / 482.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.008093, allocations: 12.59 kB / 482.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.008109, allocations: 9.5 kB / 482.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.00829, allocations: 116 kB / 482.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.009306, allocations: 1.129 MB / 484 MB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.009618, allocations: 170.5 kB / 484.2 MB, free: 25.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.00971, allocations: 65.56 kB / 484.2 MB, free: 25.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.009736, allocations: 7.469 kB / 484.2 MB, free: 25.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.009757, allocations: 38.8 kB / 484.3 MB, free: 25.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.009759, allocations: 0 / 484.3 MB, free: 25.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003407/0.0101, allocations: 197.3 kB / 484.5 MB, free: 25.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.01013, allocations: 109.9 kB / 484.6 MB, free: 25.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.01038, allocations: 364.5 kB / 484.9 MB, free: 24.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.0104, allocations: 31.89 kB / 485 MB, free: 24.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.01053, allocations: 273.4 kB / 485.2 MB, free: 24.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.01057, allocations: 83.62 kB / 485.3 MB, free: 24.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.01064, allocations: 56.73 kB / 485.4 MB, free: 24.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.01077, allocations: 0.514 MB / 485.9 MB, free: 23.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.01084, allocations: 38.45 kB / 485.9 MB, free: 23.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01095, allocations: 183 kB / 486.1 MB, free: 23.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.01111, allocations: 150 kB / 486.2 MB, free: 23.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01112, allocations: 0 / 486.2 MB, free: 23.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002447/0.01136, allocations: 217.5 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01138, allocations: 7.219 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01138, allocations: 6.812 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.0114, allocations: 2.969 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.01153, allocations: 49.88 kB / 486.5 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.01154, allocations: 2.719 kB / 486.5 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.396e-05/0.01161, allocations: 26.12 kB / 486.5 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01163, allocations: 13.41 kB / 486.6 MB, free: 23.55 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 9.06e-05/0.01172, allocations: 169.9 kB / 486.7 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.01176, allocations: 41.17 kB / 486.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.0118, allocations: 45.88 kB / 486.8 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01181, allocations: 3.812 kB / 486.8 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01181, allocations: 0 / 486.8 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.01182, allocations: 1.312 kB / 486.8 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.01203, allocations: 281.3 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01203, allocations: 0.7188 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01214, allocations: 40.09 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01215, allocations: 4 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01216, allocations: 10.06 kB / 487.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01216, allocations: 6.312 kB / 487.2 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01216, allocations: 0 / 487.2 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.01248, allocations: 360.3 kB / 487.5 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.01254, allocations: 51.94 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01256, allocations: 9.594 kB / 487.6 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.01264, allocations: 14.12 kB / 487.6 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.01269, allocations: 21.36 kB / 487.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.0127, allocations: 4.25 kB / 487.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001442/0.01284, allocations: 246.4 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01284, allocations: 1.156 kB / 487.8 MB, free: 22.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.01306, allocations: 66.25 kB / 487.9 MB, free: 22.65 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 9.006e-05/0.01315, allocations: 108.3 kB / 488 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01336, allocations: 139.3 kB / 488.1 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01336, allocations: 4.844 kB / 488.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.01344, allocations: 65.27 kB / 488.2 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.01375, allocations: 90.86 kB / 488.3 MB, free: 22.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.01471, allocations: 0.6441 MB / 489 MB, free: 22.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.176e-05/0.01477, allocations: 107.1 kB / 489.1 MB, free: 21.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.971e-05/0.01486, allocations: 38.89 kB / 489.1 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.01492, allocations: 26.53 kB / 489.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01492, allocations: 0.9062 kB / 489.1 MB, free: 21.97 MB / 426.7 MB Notification: Performance of Templates: time 0.005279/0.0202, allocations: 3.29 MB / 492.4 MB, free: 21.71 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.8078296198509634]