Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001451/0.001451, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002144/0.002144, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.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.9478/0.9478, allocations: 145 MB / 458.2 MB, free: 15.53 MB / 366.1 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 66.42 kB / 0.6339 GB, free: 7.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1916, allocations: 87.89 MB / 0.7197 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005009/0.1966, allocations: 3.196 MB / 0.7229 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1985, allocations: 1.028 MB / 0.7239 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1987, allocations: 19.88 kB / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.199, allocations: 75.2 kB / 0.724 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.1992, allocations: 103.1 kB / 0.7241 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.1998, allocations: 254.3 kB / 0.7243 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006005/0.2004, allocations: 0.5505 MB / 0.7248 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.2007, allocations: 183.9 kB / 0.725 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.2011, allocations: 227 kB / 0.7252 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.2013, allocations: 202.9 kB / 0.7254 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.2014, allocations: 52 kB / 0.7255 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.2015, allocations: 56 kB / 0.7255 GB, free: 9.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.482e-05/0.2016, allocations: 111.6 kB / 0.7256 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.2018, allocations: 234.7 kB / 0.7259 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.2025, allocations: 0.6184 MB / 0.7265 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2025, allocations: 0 / 0.7265 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2025, allocations: 0 / 0.7265 GB, free: 8.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.2025, allocations: 4 kB / 0.7265 GB, free: 8.547 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001184/0.2037, allocations: 0.7098 MB / 0.7272 GB, free: 7.805 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2037, allocations: 12.03 kB / 0.7272 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.2037, allocations: 13.19 kB / 0.7272 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/0.2038, allocations: 78.7 kB / 0.7273 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.204, allocations: 60.61 kB / 0.7273 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.2047, allocations: 359 kB / 0.7277 GB, free: 7.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2047, allocations: 41.36 kB / 0.7277 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.2048, allocations: 40.38 kB / 0.7277 GB, free: 7.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.2054, allocations: 397.5 kB / 0.7281 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2054, allocations: 0 / 0.7281 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.2055, allocations: 19.98 kB / 0.7281 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.2055, allocations: 15.94 kB / 0.7281 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.2061, allocations: 259.8 kB / 0.7284 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2079, allocations: 1.27 MB / 0.7296 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007124/0.2086, allocations: 309.2 kB / 0.7299 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.2088, allocations: 127 kB / 0.7301 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2089, allocations: 8 kB / 0.7301 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.2092, allocations: 174.1 kB / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.2092, allocations: 0 / 0.7302 GB, free: 4.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008179/0.21, allocations: 386.8 kB / 0.7306 GB, free: 4.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.2101, allocations: 85.05 kB / 0.7307 GB, free: 4.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.2105, allocations: 353.6 kB / 0.731 GB, free: 3.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.2106, allocations: 37.7 kB / 0.731 GB, free: 3.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.2108, allocations: 237.2 kB / 0.7313 GB, free: 3.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.2108, allocations: 107.1 kB / 0.7314 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.211, allocations: 70.03 kB / 0.7314 GB, free: 3.219 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2111, allocations: 358.8 kB / 0.7318 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.2114, allocations: 96.7 kB / 0.7319 GB, free: 2.766 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.2117, allocations: 164.6 kB / 0.732 GB, free: 2.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.2122, allocations: 267.7 kB / 0.7323 GB, free: 2.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2122, allocations: 0 / 0.7323 GB, free: 2.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006304/0.2128, allocations: 350.9 kB / 0.7326 GB, free: 1.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2128, allocations: 4 kB / 0.7326 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2128, allocations: 4 kB / 0.7326 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2128, allocations: 4 kB / 0.7326 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.2131, allocations: 63.91 kB / 0.7327 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2131, allocations: 7.938 kB / 0.7327 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.2133, allocations: 39.72 kB / 0.7327 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.2133, allocations: 12 kB / 0.7328 GB, free: 1.816 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001929/0.2135, allocations: 178.4 kB / 0.7329 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2136, allocations: 35.77 kB / 0.733 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.963e-05/0.2137, allocations: 52.23 kB / 0.733 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2137, allocations: 0 / 0.733 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2137, allocations: 4 kB / 0.733 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2137, allocations: 0 / 0.733 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2148, allocations: 0.7839 MB / 0.7338 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2148, allocations: 4 kB / 0.7338 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.2151, allocations: 51.91 kB / 0.7338 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2151, allocations: 0 / 0.7338 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2151, allocations: 11.94 kB / 0.7338 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2151, allocations: 0 / 0.7338 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2151, allocations: 0 / 0.7338 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.2159, allocations: 0.5246 MB / 0.7344 GB, free: 108 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2161, allocations: 67.56 kB / 0.7344 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.2161, allocations: 8 kB / 0.7344 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2163, allocations: 15.98 kB / 0.7344 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/0.2164, allocations: 28 kB / 0.7345 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2164, allocations: 7.938 kB / 0.7345 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002539/0.2167, allocations: 247.1 kB / 0.7347 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 0 / 0.7347 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003422/0.217, allocations: 91.84 kB / 0.7348 GB, free: 15.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001174/0.2182, allocations: 1.069 MB / 0.7358 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.2187, allocations: 252.7 kB / 0.7361 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2187, allocations: 0 / 0.7361 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.219, allocations: 127.8 kB / 0.7362 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.2195, allocations: 93.91 kB / 0.7363 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/0.2245, allocations: 3.469 MB / 0.7397 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2249, allocations: 0.8113 MB / 0.7405 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.2251, allocations: 43.27 kB / 0.7405 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.2253, allocations: 135.4 kB / 0.7406 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.2253, allocations: 0 / 0.7406 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.2585, allocations: 7.838 MB / 0.7483 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.08, allocations: 4.062 kB / 0.7483 GB, free: 1.848 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.328973711002618] Failed to read output from testmodel.py, exit status != 0: 12.253104975097813 12.552399276 12.347166657 Calling exit ...