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.0009501/0.0009501, 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.001261/0.001261, 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 0.9898/0.9898, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.6364/0.6364, allocations: 110.3 MB / 371.3 MB, free: 12.39 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.693e-06/1.693e-06, allocations: 0 / 422.3 MB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.535e-05, allocations: 6.312 kB / 422.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003442/0.003467, allocations: 2.92 MB / 425.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.005128, allocations: 0.9776 MB / 426.3 MB, free: 5.492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.00537, allocations: 19.88 kB / 426.3 MB, free: 5.473 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.005593, allocations: 71.25 kB / 426.3 MB, free: 5.402 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.005749, allocations: 95.12 kB / 426.4 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.006211, allocations: 235.5 kB / 426.7 MB, free: 5.078 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.006602, allocations: 0.4913 MB / 427.2 MB, free: 4.586 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.006839, allocations: 152.2 kB / 427.3 MB, free: 4.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.007168, allocations: 275.2 kB / 427.6 MB, free: 4.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.007336, allocations: 127.5 kB / 427.7 MB, free: 4.035 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.00738, allocations: 40 kB / 427.7 MB, free: 3.996 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.007444, allocations: 44 kB / 427.8 MB, free: 3.953 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.007504, allocations: 99.59 kB / 427.9 MB, free: 3.855 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.622e-05/0.00759, allocations: 127.6 kB / 428 MB, free: 3.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.007998, allocations: 302.7 kB / 428.3 MB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.008003, allocations: 0 / 428.3 MB, free: 3.434 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008005, allocations: 0 / 428.3 MB, free: 3.434 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.008014, allocations: 0 / 428.3 MB, free: 3.434 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.0007346/0.008748, allocations: 0.6162 MB / 428.9 MB, free: 2.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.008784, allocations: 12.03 kB / 428.9 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.008937, allocations: 64.83 kB / 429 MB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.009313, allocations: 298.8 kB / 429.3 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.009343, allocations: 32.97 kB / 429.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.009386, allocations: 32.36 kB / 429.3 MB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.009694, allocations: 327 kB / 429.7 MB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.009707, allocations: 4.125 kB / 429.7 MB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.009725, allocations: 12.38 kB / 429.7 MB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.009735, allocations: 11.94 kB / 429.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.009857, allocations: 79.17 kB / 429.8 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007836/0.01064, allocations: 0.7552 MB / 430.5 MB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01088, allocations: 149.4 kB / 430.7 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.01093, allocations: 52.77 kB / 430.7 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01095, allocations: 8 kB / 430.7 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.01098, allocations: 34.56 kB / 430.8 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 2.765e-06/0.01098, allocations: 0 / 430.8 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.000207/0.01119, allocations: 137.9 kB / 430.9 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.01123, allocations: 106.8 kB / 431 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.01141, allocations: 303.3 kB / 431.3 MB, free: 252 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01143, allocations: 29.7 kB / 431.3 MB, free: 216 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.01152, allocations: 189.1 kB / 431.5 MB, free: 20 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.01157, allocations: 83.45 kB / 431.6 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.01163, allocations: 49.69 kB / 431.6 MB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.01172, allocations: 354.7 kB / 432 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.01176, allocations: 27.92 kB / 432 MB, free: 15.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.01185, allocations: 143.1 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.01196, allocations: 125.8 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01196, allocations: 0 / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001587/0.01212, allocations: 157.4 kB / 432.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01214, allocations: 4 kB / 432.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01214, allocations: 4 kB / 432.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01216, allocations: 8 kB / 432.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.01228, allocations: 47.91 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01229, allocations: 4 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.01236, allocations: 31.78 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01237, allocations: 16.17 kB / 432.5 MB, free: 14.9 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 9.587e-05/0.01247, allocations: 129.7 kB / 432.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.0125, allocations: 27.97 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.01255, allocations: 35.38 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01255, allocations: 4 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01255, allocations: 0 / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01256, allocations: 0 / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01275, allocations: 197.5 kB / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01275, allocations: 0 / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.01286, allocations: 43.92 kB / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01287, allocations: 4 kB / 433 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.01288, allocations: 11.98 kB / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01288, allocations: 3.938 kB / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01288, allocations: 0 / 433 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.01312, allocations: 251.3 kB / 433.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.01317, allocations: 31.75 kB / 433.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.01319, allocations: 4 kB / 433.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.01327, allocations: 15.98 kB / 433.3 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.01331, allocations: 11.97 kB / 433.3 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01332, allocations: 12.03 kB / 433.3 MB, free: 14.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.0134, allocations: 120.7 kB / 433.4 MB, free: 13.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0134, allocations: 0 / 433.4 MB, free: 13.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.01358, allocations: 71.78 kB / 433.5 MB, free: 13.9 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 0.000102/0.01368, allocations: 84.36 kB / 433.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.01384, allocations: 109.5 kB / 433.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.01384, allocations: 4.375 kB / 433.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.782e-05/0.0139, allocations: 64.7 kB / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.01417, allocations: 81.44 kB / 433.8 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01518, allocations: 0.6407 MB / 434.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.565e-05/0.01524, allocations: 96.61 kB / 434.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.01533, allocations: 42.95 kB / 434.6 MB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.01547, allocations: 111.3 kB / 434.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01547, allocations: 0 / 434.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Templates: time 0.005941/0.02141, allocations: 3.589 MB / 438.3 MB, free: 9.031 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.509728877339512]