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.001014/0.001014, allocations: 80.39 kB / 20.97 MB, free: 3.578 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.0009875/0.0009875, allocations: 165 kB / 24.28 MB, free: 280 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.9792/0.9792, allocations: 177.2 MB / 204.6 MB, free: 5.617 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.6724/0.6724, allocations: 110.3 MB / 371.3 MB, free: 12.54 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.944e-06/1.944e-06, allocations: 3.938 kB / 475.1 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.628e-05, allocations: 4.891 kB / 475.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003016/0.003042, allocations: 2.958 MB / 478.1 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004383, allocations: 0.9512 MB / 479.1 MB, free: 12.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.004591, allocations: 16 kB / 479.1 MB, free: 12.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.004793, allocations: 67.23 kB / 479.1 MB, free: 12.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.004932, allocations: 105.7 kB / 479.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.005344, allocations: 219.1 kB / 479.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.00568, allocations: 0.4968 MB / 480 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.005927, allocations: 146.2 kB / 480.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.006217, allocations: 278 kB / 480.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.006382, allocations: 125.6 kB / 480.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.006432, allocations: 45.75 kB / 480.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.0065, allocations: 53.23 kB / 480.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.006541, allocations: 86.47 kB / 480.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.006618, allocations: 129.3 kB / 480.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.006931, allocations: 307.8 kB / 481.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.006934, allocations: 8.562 kB / 481.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006935, allocations: 0 / 481.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.006941, allocations: 0 / 481.1 MB, free: 11.55 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.0006923/0.007633, allocations: 0.738 MB / 481.8 MB, free: 10.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.00767, allocations: 8.75 kB / 481.9 MB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.007879, allocations: 87.52 kB / 481.9 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.008274, allocations: 373.5 kB / 482.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.008302, allocations: 23.03 kB / 482.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.008343, allocations: 31.66 kB / 482.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.008692, allocations: 366.6 kB / 482.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.008715, allocations: 3.094 kB / 482.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.008748, allocations: 11.31 kB / 482.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.008765, allocations: 12.88 kB / 482.7 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.00906, allocations: 109.2 kB / 482.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.01024, allocations: 1.135 MB / 484 MB, free: 25.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.01055, allocations: 169.2 kB / 484.1 MB, free: 25.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.808e-05/0.01064, allocations: 59.23 kB / 484.2 MB, free: 25.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01067, allocations: 6.062 kB / 484.2 MB, free: 25.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01069, allocations: 41.23 kB / 484.3 MB, free: 25.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.01069, allocations: 2.25 kB / 484.3 MB, free: 25.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003229/0.01101, allocations: 201.3 kB / 484.5 MB, free: 25.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.01105, allocations: 110 kB / 484.6 MB, free: 25.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.01135, allocations: 361.7 kB / 484.9 MB, free: 24.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01137, allocations: 33.23 kB / 484.9 MB, free: 24.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01148, allocations: 265.6 kB / 485.2 MB, free: 24.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.01151, allocations: 86.56 kB / 485.3 MB, free: 24.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.01158, allocations: 57.69 kB / 485.3 MB, free: 24.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.01173, allocations: 0.5162 MB / 485.9 MB, free: 23.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.01182, allocations: 34.33 kB / 485.9 MB, free: 23.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01195, allocations: 182.9 kB / 486.1 MB, free: 23.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.01214, allocations: 148.2 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01214, allocations: 1.312 kB / 486.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003108/0.01245, allocations: 216.7 kB / 486.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01247, allocations: 5.75 kB / 486.4 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01247, allocations: 6.406 kB / 486.4 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01249, allocations: 3.562 kB / 486.4 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01268, allocations: 54.61 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01269, allocations: 3.438 kB / 486.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.0128, allocations: 30.75 kB / 486.5 MB, free: 23.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01281, allocations: 6.875 kB / 486.5 MB, free: 23.56 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.0001182/0.01293, allocations: 172.3 kB / 486.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.01299, allocations: 42.95 kB / 486.8 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.01305, allocations: 47.2 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01306, allocations: 3.406 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01306, allocations: 0 / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01306, allocations: 0.9375 kB / 486.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.01336, allocations: 274.6 kB / 487.1 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01336, allocations: 0 / 487.1 MB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.01351, allocations: 43.73 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01351, allocations: 1.312 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01353, allocations: 4.859 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01353, allocations: 6.062 kB / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01353, allocations: 0 / 487.1 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.01392, allocations: 362.9 kB / 487.5 MB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.014, allocations: 51.48 kB / 487.5 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.01403, allocations: 9.344 kB / 487.5 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01414, allocations: 17.08 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.01419, allocations: 17.16 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.0142, allocations: 8.5 kB / 487.6 MB, free: 22.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.01437, allocations: 242.8 kB / 487.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01437, allocations: 4.094 kB / 487.8 MB, free: 22.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.01468, allocations: 69.28 kB / 487.9 MB, free: 22.66 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 8.446e-05/0.01476, allocations: 108.2 kB / 488 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.01501, allocations: 131.5 kB / 488.1 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01501, allocations: 0 / 488.1 MB, free: 22.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.787e-05/0.01511, allocations: 73.62 kB / 488.2 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.01553, allocations: 89.56 kB / 488.3 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01675, allocations: 0.6412 MB / 488.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.01682, allocations: 99.72 kB / 489 MB, free: 22.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.01694, allocations: 44 kB / 489.1 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.01701, allocations: 32.03 kB / 489.1 MB, free: 21.99 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01701, allocations: 0 / 489.1 MB, free: 21.99 MB / 426.7 MB Notification: Performance of Templates: time 0.006817/0.02383, allocations: 3.29 MB / 492.4 MB, free: 21.74 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.7661508470773697]