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.0008351/0.0008351, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009732/0.0009732, allocations: 165 kB / 24.17 MB, free: 332 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 1.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.508 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.6306/0.6306, allocations: 110.3 MB / 371.3 MB, free: 12.34 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 2.084e-06/2.084e-06, allocations: 0 / 422.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.686e-05, allocations: 2.312 kB / 422.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003528/0.003555, allocations: 2.956 MB / 425.4 MB, free: 6.367 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.005077, allocations: 0.9892 MB / 426.4 MB, free: 5.371 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.005272, allocations: 15.88 kB / 426.4 MB, free: 5.355 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.005473, allocations: 63.33 kB / 426.4 MB, free: 5.293 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.00562, allocations: 107 kB / 426.5 MB, free: 5.188 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.006008, allocations: 215.6 kB / 426.7 MB, free: 4.977 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.006383, allocations: 0.4951 MB / 427.2 MB, free: 4.48 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.006638, allocations: 156.2 kB / 427.4 MB, free: 4.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.006973, allocations: 275.2 kB / 427.7 MB, free: 4.051 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.00713, allocations: 127.5 kB / 427.8 MB, free: 3.926 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.007175, allocations: 47.94 kB / 427.8 MB, free: 3.879 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.007255, allocations: 44 kB / 427.9 MB, free: 3.836 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.007309, allocations: 91.67 kB / 428 MB, free: 3.746 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.00739, allocations: 127.6 kB / 428.1 MB, free: 3.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.00773, allocations: 302.8 kB / 428.4 MB, free: 3.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.007732, allocations: 0 / 428.4 MB, free: 3.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007733, allocations: 0 / 428.4 MB, free: 3.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007738, allocations: 0 / 428.4 MB, free: 3.324 MB / 394.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.0006475/0.008385, allocations: 0.6161 MB / 429 MB, free: 2.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.008417, allocations: 12.03 kB / 429 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.008557, allocations: 64.88 kB / 429.1 MB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.008904, allocations: 306.7 kB / 429.4 MB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.008929, allocations: 29.03 kB / 429.4 MB, free: 2.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.008965, allocations: 28.38 kB / 429.4 MB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.009401, allocations: 338.9 kB / 429.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.009413, allocations: 192 / 429.8 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.00943, allocations: 8.375 kB / 429.8 MB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009437, allocations: 11.94 kB / 429.8 MB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.009552, allocations: 83.12 kB / 429.9 MB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.0103, allocations: 0.763 MB / 430.6 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.01053, allocations: 130.4 kB / 430.8 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.01059, allocations: 52.81 kB / 430.8 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.01061, allocations: 4 kB / 430.8 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.01063, allocations: 42.56 kB / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.01063, allocations: 0 / 430.8 MB, free: 0.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002146/0.01085, allocations: 145.8 kB / 431 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.01089, allocations: 102.8 kB / 431.1 MB, free: 444 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01105, allocations: 295.4 kB / 431.4 MB, free: 140 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01107, allocations: 33.7 kB / 431.4 MB, free: 100 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.01117, allocations: 193 kB / 431.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.01121, allocations: 75.33 kB / 431.7 MB, free: 15.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.01127, allocations: 53.67 kB / 431.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.01136, allocations: 350.7 kB / 432.1 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.0114, allocations: 27.98 kB / 432.1 MB, free: 15.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-05/0.01148, allocations: 151 kB / 432.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.0116, allocations: 125.8 kB / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0116, allocations: 0 / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001695/0.01177, allocations: 157.4 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01178, allocations: 8 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01179, allocations: 0 / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.0118, allocations: 4 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01197, allocations: 59.91 kB / 432.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.01197, allocations: 0 / 432.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.01204, allocations: 35.72 kB / 432.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01205, allocations: 12.11 kB / 432.6 MB, free: 14.78 MB / 410.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 8.663e-05/0.01214, allocations: 129.8 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.01218, allocations: 27.97 kB / 432.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.01222, allocations: 35.38 kB / 432.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01223, allocations: 4 kB / 432.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01223, allocations: 0 / 432.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01223, allocations: 0 / 432.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.01242, allocations: 201.5 kB / 433 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01242, allocations: 0 / 433 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.01255, allocations: 47.91 kB / 433.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01256, allocations: 4 kB / 433.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01257, allocations: 8 kB / 433.1 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01257, allocations: 0 / 433.1 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01257, allocations: 0 / 433.1 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.0128, allocations: 251.3 kB / 433.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.01285, allocations: 31.75 kB / 433.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.01288, allocations: 8 kB / 433.4 MB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.01295, allocations: 11.98 kB / 433.4 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.01299, allocations: 15.97 kB / 433.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.013, allocations: 12.02 kB / 433.4 MB, free: 13.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.296e-05/0.01308, allocations: 116.7 kB / 433.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 0 / 433.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.01325, allocations: 71.78 kB / 433.6 MB, free: 13.78 MB / 410.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.106e-05/0.01335, allocations: 80.42 kB / 433.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01349, allocations: 108.6 kB / 433.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.01349, allocations: 4.375 kB / 433.8 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/0.01356, allocations: 65.7 kB / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01381, allocations: 77.81 kB / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.01487, allocations: 0.6485 MB / 434.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.01493, allocations: 92.61 kB / 434.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.993e-05/0.01503, allocations: 46.95 kB / 434.7 MB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.01518, allocations: 123.3 kB / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01518, allocations: 0 / 434.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of Templates: time 0.006798/0.02198, allocations: 3.622 MB / 438.5 MB, free: 8.867 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.54804061120376]