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.001354/0.001354, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00146/0.00146, allocations: 170 kB / 22.46 MB, free: 5.359 MB / 14.72 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.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.938/0.938, allocations: 110.2 MB / 369.4 MB, free: 1.168 MB / 334.1 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.813e-06/1.813e-06, allocations: 3.938 kB / 0.5477 GB, free: 9.863 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.396e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004637/0.004671, allocations: 2.814 MB / 0.5505 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.006685, allocations: 0.941 MB / 0.5514 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.006929, allocations: 23.81 kB / 0.5514 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.007186, allocations: 67.27 kB / 0.5515 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.007395, allocations: 97.8 kB / 0.5516 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.007999, allocations: 229 kB / 0.5518 GB, free: 5.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.00858, allocations: 0.499 MB / 0.5523 GB, free: 5.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003907/0.00897, allocations: 142.2 kB / 0.5524 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.009419, allocations: 279.2 kB / 0.5527 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.009634, allocations: 123.5 kB / 0.5528 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.819e-05/0.009702, allocations: 44 kB / 0.5529 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.009795, allocations: 44 kB / 0.5529 GB, free: 4.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.009883, allocations: 95.61 kB / 0.553 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.01003, allocations: 131.6 kB / 0.5531 GB, free: 4.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.01068, allocations: 0.5411 MB / 0.5536 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.01068, allocations: 0 / 0.5536 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01068, allocations: 0 / 0.5536 GB, free: 3.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.01069, allocations: 4 kB / 0.5536 GB, free: 3.801 MB / 462.1 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.001159/0.01185, allocations: 0.6528 MB / 0.5543 GB, free: 3.117 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.01188, allocations: 8.031 kB / 0.5543 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.01209, allocations: 56.61 kB / 0.5543 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.01281, allocations: 352.7 kB / 0.5547 GB, free: 2.688 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.01285, allocations: 25.03 kB / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.01291, allocations: 28.38 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.0136, allocations: 415 kB / 0.5551 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.01362, allocations: 192 / 0.5551 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.01366, allocations: 12.38 kB / 0.5551 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.01367, allocations: 19.88 kB / 0.5552 GB, free: 2.152 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.01417, allocations: 218.5 kB / 0.5554 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.0157, allocations: 0.9539 MB / 0.5563 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.01634, allocations: 225.1 kB / 0.5565 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.01661, allocations: 104.8 kB / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.01665, allocations: 4 kB / 0.5566 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.01668, allocations: 34.56 kB / 0.5566 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.01669, allocations: 0 / 0.5566 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007564/0.01744, allocations: 297.6 kB / 0.5569 GB, free: 272 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.01752, allocations: 110.8 kB / 0.557 GB, free: 136 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.01794, allocations: 329.7 kB / 0.5573 GB, free: 15.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.01797, allocations: 29.7 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.01817, allocations: 224.5 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.01825, allocations: 87.25 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.01834, allocations: 53.64 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.01852, allocations: 342.8 kB / 0.5581 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.01872, allocations: 79.95 kB / 0.5581 GB, free: 14.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.019, allocations: 195.1 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.01942, allocations: 216.3 kB / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01943, allocations: 0 / 0.5585 GB, free: 14.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005544/0.01998, allocations: 276 kB / 0.5588 GB, free: 14.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.02, allocations: 4 kB / 0.5588 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.02001, allocations: 7.938 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.02003, allocations: 4 kB / 0.5588 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.02028, allocations: 60.09 kB / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.02028, allocations: 0 / 0.5589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.02046, allocations: 35.81 kB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.02048, allocations: 8 kB / 0.5589 GB, free: 14.13 MB / 478.1 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.0001761/0.02066, allocations: 157.8 kB / 0.5591 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.02072, allocations: 35.77 kB / 0.5591 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-05/0.02082, allocations: 47.25 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02082, allocations: 0 / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02083, allocations: 3.938 kB / 0.5591 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.02083, allocations: 11.98 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.02122, allocations: 277.1 kB / 0.5594 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.02122, allocations: 0 / 0.5594 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.02145, allocations: 35.98 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02146, allocations: 4 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.02148, allocations: 7.984 kB / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.02148, allocations: 3.938 kB / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02148, allocations: 0 / 0.5595 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.02224, allocations: 433.7 kB / 0.5599 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.02235, allocations: 51.72 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.0224, allocations: 7.938 kB / 0.5599 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.02258, allocations: 15.98 kB / 0.5599 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.02264, allocations: 19.95 kB / 0.56 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.02266, allocations: 8 kB / 0.56 GB, free: 12.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.02291, allocations: 231.2 kB / 0.5602 GB, free: 12.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02291, allocations: 0 / 0.5602 GB, free: 12.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.02324, allocations: 71.83 kB / 0.5603 GB, free: 12.68 MB / 478.1 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.0001485/0.02339, allocations: 107.2 kB / 0.5604 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.0239, allocations: 183.8 kB / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0239, allocations: 0 / 0.5605 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.02413, allocations: 99.84 kB / 0.5606 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.02472, allocations: 94.12 kB / 0.5607 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.02622, allocations: 0.6555 MB / 0.5614 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.02644, allocations: 191.1 kB / 0.5615 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.02659, allocations: 42.94 kB / 0.5616 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.975e-05/0.02668, allocations: 24.5 kB / 0.5616 GB, free: 11.25 MB / 478.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02668, allocations: 4 kB / 0.5616 GB, free: 11.25 MB / 478.1 MB Notification: Performance of Templates: time 0.008688/0.03536, allocations: 3.276 MB / 0.5648 GB, free: 8.051 MB / 478.1 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.795417167246342] Failed to read output from testmodel.py, exit status != 0: 0.0452941432595253 0.059989058000000005 0.046159419 Calling exit ...