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.0008295/0.0008295, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002281, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001111/0.001111, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002566, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.9485/0.9485, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09838/1.047, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.6617/0.6617, allocations: 110.3 MB / 354.4 MB, free: 12.29 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.08024/0.742, allocations: 34.97 MB / 389.4 MB, free: 9.238 MB / 378.7 MB " [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.773e-06/1.773e-06, allocations: 0 / 390.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.991e-05, allocations: 2.312 kB / 390.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003079/0.003099, allocations: 2.975 MB / 393.7 MB, free: 4.949 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00458, allocations: 0.9892 MB / 394.7 MB, free: 3.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.00477, allocations: 23.88 kB / 394.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.004913, allocations: 63.27 kB / 394.8 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.005051, allocations: 107 kB / 394.9 MB, free: 3.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.005383, allocations: 227.6 kB / 395.1 MB, free: 3.539 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.005738, allocations: 495.1 kB / 395.6 MB, free: 3.055 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.005952, allocations: 156.2 kB / 395.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.006293, allocations: 321.3 kB / 396 MB, free: 2.578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.006442, allocations: 127.5 kB / 396.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.006485, allocations: 40 kB / 396.2 MB, free: 2.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.006561, allocations: 44 kB / 396.3 MB, free: 2.371 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.006607, allocations: 67.75 kB / 396.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.006678, allocations: 103.7 kB / 396.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.006947, allocations: 286.7 kB / 396.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.006961, allocations: 0 / 396.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006961, allocations: 4 kB / 396.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.006976, allocations: 0 / 396.7 MB, free: 1.918 MB / 378.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.0009765/0.007952, allocations: 0.6862 MB / 397.4 MB, free: 1.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.007982, allocations: 8.031 kB / 397.4 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.008149, allocations: 146 kB / 397.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.008484, allocations: 306.8 kB / 397.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.008515, allocations: 25.03 kB / 397.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.008553, allocations: 28.38 kB / 397.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.008831, allocations: 330.9 kB / 398.2 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.008843, allocations: 192 / 398.2 MB, free: 292 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.008863, allocations: 16.38 kB / 398.2 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.008874, allocations: 15.94 kB / 398.2 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.008987, allocations: 83.11 kB / 398.3 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007734/0.00976, allocations: 0.7592 MB / 399.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.01, allocations: 138.4 kB / 399.2 MB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.01006, allocations: 48.83 kB / 399.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01008, allocations: 4 kB / 399.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.01011, allocations: 38.56 kB / 399.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.223e-06/0.01011, allocations: 0 / 399.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002127/0.01032, allocations: 133.9 kB / 399.4 MB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.01035, allocations: 59.41 kB / 399.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.01053, allocations: 299.3 kB / 399.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01055, allocations: 33.7 kB / 399.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.01063, allocations: 189.1 kB / 400 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.01067, allocations: 87.08 kB / 400.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.01073, allocations: 49.69 kB / 400.1 MB, free: 14.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.01082, allocations: 350.7 kB / 400.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.01085, allocations: 23.98 kB / 400.5 MB, free: 13.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.01094, allocations: 139.1 kB / 400.6 MB, free: 13.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.01105, allocations: 141.7 kB / 400.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01105, allocations: 0 / 400.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001542/0.01121, allocations: 153.4 kB / 400.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.01122, allocations: 4 kB / 400.9 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01122, allocations: 4 kB / 400.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.01123, allocations: 0 / 400.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.01141, allocations: 72.03 kB / 401 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.01142, allocations: 7.984 kB / 401 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.01149, allocations: 31.83 kB / 401 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.0115, allocations: 7.938 kB / 401.1 MB, free: 13.27 MB / 394.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.153e-05/0.01159, allocations: 121.8 kB / 401.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.01162, allocations: 31.97 kB / 401.2 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.01166, allocations: 35.38 kB / 401.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01167, allocations: 3.984 kB / 401.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01167, allocations: 4 kB / 401.2 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01167, allocations: 7.984 kB / 401.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.01186, allocations: 193.6 kB / 401.4 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01186, allocations: 0 / 401.4 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01198, allocations: 43.97 kB / 401.5 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.01203, allocations: 39.69 kB / 401.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01203, allocations: 0 / 401.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01204, allocations: 11.94 kB / 401.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01204, allocations: 0 / 401.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01204, allocations: 0 / 401.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.01234, allocations: 255.3 kB / 401.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.01238, allocations: 8 kB / 401.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.01246, allocations: 15.98 kB / 401.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.0125, allocations: 15.97 kB / 401.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.01251, allocations: 4 kB / 401.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.201e-05/0.0126, allocations: 124.7 kB / 402 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0126, allocations: 3.938 kB / 402 MB, free: 12.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.01278, allocations: 67.84 kB / 402 MB, free: 12.25 MB / 394.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.541e-05/0.01288, allocations: 92.39 kB / 402.1 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01305, allocations: 109.6 kB / 402.2 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.01306, allocations: 7.938 kB / 402.2 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.01314, allocations: 76.69 kB / 402.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.01356, allocations: 0.5523 MB / 402.9 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.01567, allocations: 0.6543 MB / 403.5 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.01574, allocations: 96.61 kB / 403.6 MB, free: 10.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.01585, allocations: 38.97 kB / 403.6 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.01599, allocations: 123.3 kB / 403.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01599, allocations: 0 / 403.8 MB, free: 10.35 MB / 394.7 MB Notification: Performance of Templates: time 0.005804/0.02179, allocations: 3.695 MB / 407.5 MB, free: 6.672 MB / 394.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.2330405516549945]