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.000728/0.000728, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007283/0.0007283, allocations: 173.9 kB / 23.21 MB, free: 1.348 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 0.8383/0.8383, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5136/0.5136, allocations: 110.2 MB / 370.2 MB, free: 12.62 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.563e-06/1.563e-06, allocations: 0 / 0.5485 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.372e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003111/0.003135, allocations: 2.812 MB / 0.5512 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.004314, allocations: 0.9466 MB / 0.5521 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.004492, allocations: 15.88 kB / 0.5522 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.004677, allocations: 63.33 kB / 0.5522 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.004804, allocations: 103.1 kB / 0.5523 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.005194, allocations: 223.1 kB / 0.5525 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.005523, allocations: 0.499 MB / 0.553 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.005747, allocations: 146.2 kB / 0.5532 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.006009, allocations: 271.3 kB / 0.5534 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.006142, allocations: 127.5 kB / 0.5535 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.006182, allocations: 44 kB / 0.5536 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.006242, allocations: 47.94 kB / 0.5536 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.00629, allocations: 103.6 kB / 0.5537 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.006365, allocations: 123.7 kB / 0.5538 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.006763, allocations: 0.545 MB / 0.5544 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.006765, allocations: 0 / 0.5544 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006766, allocations: 0 / 0.5544 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.006771, allocations: 3.938 kB / 0.5544 GB, free: 3.281 MB / 0.5105 GB 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.000753/0.007524, allocations: 0.6528 MB / 0.555 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.007559, allocations: 15.97 kB / 0.555 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.007691, allocations: 56.61 kB / 0.5551 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.008103, allocations: 340.7 kB / 0.5554 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.008124, allocations: 25.03 kB / 0.5554 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.008161, allocations: 28.38 kB / 0.5555 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.008553, allocations: 419 kB / 0.5559 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.008569, allocations: 8.078 kB / 0.5559 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.008591, allocations: 12.38 kB / 0.5559 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.008599, allocations: 11.94 kB / 0.5559 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.008882, allocations: 214.5 kB / 0.5561 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.009778, allocations: 0.954 MB / 0.557 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.01014, allocations: 230.7 kB / 0.5572 GB, free: 196 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.01026, allocations: 104.8 kB / 0.5573 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.01029, allocations: 3.984 kB / 0.5574 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.01031, allocations: 34.56 kB / 0.5574 GB, free: 40 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01031, allocations: 0 / 0.5574 GB, free: 40 kB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.000424/0.01073, allocations: 295.6 kB / 0.5577 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.01078, allocations: 106.8 kB / 0.5578 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.01126, allocations: 341.7 kB / 0.5581 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01128, allocations: 25.7 kB / 0.5581 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01139, allocations: 228.5 kB / 0.5583 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.01143, allocations: 75.25 kB / 0.5584 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.01148, allocations: 61.69 kB / 0.5585 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.01157, allocations: 338.8 kB / 0.5588 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.01167, allocations: 75.95 kB / 0.5589 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01181, allocations: 195.1 kB / 0.559 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.01203, allocations: 215.4 kB / 0.5593 GB, free: 14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01204, allocations: 0 / 0.5593 GB, free: 14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002896/0.01233, allocations: 284.5 kB / 0.5595 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.01234, allocations: 11.92 kB / 0.5595 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.01235, allocations: 7.938 kB / 0.5595 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.01236, allocations: 0 / 0.5595 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01248, allocations: 55.91 kB / 0.5596 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01248, allocations: 4 kB / 0.5596 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.01256, allocations: 35.77 kB / 0.5596 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01258, allocations: 8 kB / 0.5596 GB, free: 13.6 MB / 0.5261 GB 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.0001108/0.01269, allocations: 162 kB / 0.5598 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.01272, allocations: 31.81 kB / 0.5598 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.01277, allocations: 43.31 kB / 0.5599 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.01277, allocations: 7.938 kB / 0.5599 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01278, allocations: 0 / 0.5599 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01278, allocations: 3.984 kB / 0.5599 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.013, allocations: 285 kB / 0.5602 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.013, allocations: 0 / 0.5602 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.01311, allocations: 35.98 kB / 0.5602 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01311, allocations: 4 kB / 0.5602 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01312, allocations: 8 kB / 0.5602 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.01313, allocations: 7.922 kB / 0.5602 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01313, allocations: 3.984 kB / 0.5602 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.01354, allocations: 424.6 kB / 0.5606 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.01361, allocations: 59.7 kB / 0.5607 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.01363, allocations: 3.938 kB / 0.5607 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.01372, allocations: 20.05 kB / 0.5607 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.01376, allocations: 23.95 kB / 0.5607 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.01377, allocations: 4 kB / 0.5607 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000147/0.01392, allocations: 231.2 kB / 0.5609 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 0.5609 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001983/0.01412, allocations: 67.84 kB / 0.561 GB, free: 12.15 MB / 0.5261 GB 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.001e-05/0.01421, allocations: 111.2 kB / 0.5611 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.01448, allocations: 187.8 kB / 0.5613 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01448, allocations: 0 / 0.5613 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01459, allocations: 97.16 kB / 0.5614 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.0149, allocations: 85.17 kB / 0.5615 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.01571, allocations: 0.6769 MB / 0.5621 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01582, allocations: 191.1 kB / 0.5623 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.01588, allocations: 40.42 kB / 0.5623 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of SimCode: time 3.9e-07/0.01588, allocations: 0 / 0.5623 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.004347/0.02023, allocations: 4.417 MB / 0.5667 GB, free: 6.324 MB / 0.5261 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.132775979116559] Failed to read output from testmodel.py, exit status != 0: 0.02530727442353964 0.033959913 0.025268364 Calling exit ...