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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 110.9 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9787/0.9787, allocations: 145.2 MB / 447.9 MB, free: 6.371 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 75.55 kB / 0.6199 GB, free: 1.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1915, allocations: 86.64 MB / 0.7046 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005283/0.1968, allocations: 3.143 MB / 0.7076 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1991, allocations: 0.97 MB / 0.7086 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.1995, allocations: 11.94 kB / 0.7086 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1998, allocations: 75.19 kB / 0.7087 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.2, allocations: 107 kB / 0.7088 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2007, allocations: 238.2 kB / 0.709 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006426/0.2013, allocations: 0.5427 MB / 0.7095 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.2017, allocations: 187.7 kB / 0.7097 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.202, allocations: 211 kB / 0.7099 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.2023, allocations: 214.9 kB / 0.7101 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.2023, allocations: 52 kB / 0.7102 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.735e-05/0.2024, allocations: 52 kB / 0.7102 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2025, allocations: 103.6 kB / 0.7103 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2027, allocations: 242.7 kB / 0.7105 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.2035, allocations: 0.6107 MB / 0.7111 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2035, allocations: 0 / 0.7111 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2035, allocations: 0 / 0.7111 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2035, allocations: 0 / 0.7111 GB, free: 3.938 MB / 0.5294 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.00148/0.205, allocations: 0.7812 MB / 0.7119 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.2051, allocations: 11.97 kB / 0.7119 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.2052, allocations: 78.66 kB / 0.712 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.2053, allocations: 64.56 kB / 0.712 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.2062, allocations: 416.9 kB / 0.7124 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.2063, allocations: 29.38 kB / 0.7125 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.2064, allocations: 44.34 kB / 0.7125 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.2071, allocations: 401.7 kB / 0.7129 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2071, allocations: 8 kB / 0.7129 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2072, allocations: 8 kB / 0.7129 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2072, allocations: 12 kB / 0.7129 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.2077, allocations: 267.8 kB / 0.7132 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.2097, allocations: 1.309 MB / 0.7144 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.2105, allocations: 295.2 kB / 0.7147 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.2107, allocations: 127.2 kB / 0.7149 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.2108, allocations: 4 kB / 0.7149 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.2111, allocations: 189.9 kB / 0.715 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.2111, allocations: 4 kB / 0.715 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.000855/0.212, allocations: 378.8 kB / 0.7154 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.061e-05/0.2121, allocations: 85.11 kB / 0.7155 GB, free: 15.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.2125, allocations: 349.6 kB / 0.7158 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.2125, allocations: 37.69 kB / 0.7159 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.2127, allocations: 237.3 kB / 0.7161 GB, free: 14.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2128, allocations: 111.1 kB / 0.7162 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.213, allocations: 74.06 kB / 0.7163 GB, free: 14.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.2132, allocations: 346.8 kB / 0.7166 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2134, allocations: 104.6 kB / 0.7167 GB, free: 13.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.2137, allocations: 176.4 kB / 0.7169 GB, free: 13.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.2142, allocations: 251.9 kB / 0.7171 GB, free: 13.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.2142, allocations: 3.938 kB / 0.7171 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006707/0.2148, allocations: 350.7 kB / 0.7174 GB, free: 13.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2149, allocations: 4 kB / 0.7174 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2149, allocations: 0 / 0.7174 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2149, allocations: 8.172 kB / 0.7174 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.2152, allocations: 71.91 kB / 0.7175 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2152, allocations: 0 / 0.7175 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2154, allocations: 47.72 kB / 0.7176 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2154, allocations: 8 kB / 0.7176 GB, free: 13.02 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.0002286/0.2156, allocations: 181.6 kB / 0.7177 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.2157, allocations: 39.77 kB / 0.7178 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2158, allocations: 44.25 kB / 0.7178 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.2158, allocations: 7.984 kB / 0.7178 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2158, allocations: 0 / 0.7178 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2158, allocations: 3.938 kB / 0.7178 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2171, allocations: 0.807 MB / 0.7186 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.2171, allocations: 0 / 0.7186 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.2173, allocations: 47.92 kB / 0.7187 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2173, allocations: 4 kB / 0.7187 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.2174, allocations: 11.98 kB / 0.7187 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2174, allocations: 4 kB / 0.7187 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2174, allocations: 0 / 0.7187 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.2183, allocations: 0.5208 MB / 0.7192 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2184, allocations: 144.7 kB / 0.7193 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.2185, allocations: 8.062 kB / 0.7193 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2186, allocations: 19.98 kB / 0.7194 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.2187, allocations: 27.95 kB / 0.7194 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.2187, allocations: 8 kB / 0.7194 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002823/0.219, allocations: 243.1 kB / 0.7196 GB, free: 10.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.219, allocations: 4 kB / 0.7196 GB, free: 10.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003592/0.2194, allocations: 83.84 kB / 0.7197 GB, free: 10.72 MB / 0.545 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.001302/0.2207, allocations: 1.065 MB / 0.7207 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006256/0.2213, allocations: 252.1 kB / 0.721 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2213, allocations: 0 / 0.721 GB, free: 9.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.2216, allocations: 132.3 kB / 0.7211 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2221, allocations: 86.56 kB / 0.7212 GB, free: 9.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.2274, allocations: 3.441 MB / 0.7246 GB, free: 5.613 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005612/0.228, allocations: 0.8152 MB / 0.7254 GB, free: 4.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.2282, allocations: 47.27 kB / 0.7254 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.2284, allocations: 143.4 kB / 0.7255 GB, free: 4.586 MB / 0.545 GB Notification: Performance of SimCode: time 1.904e-06/0.2284, allocations: 0 / 0.7255 GB, free: 4.586 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.264, allocations: 7.488 MB / 0.7328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.676/8.94, allocations: 23.69 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.773892937228084] Failed to read output from testmodel.py, exit status != 0: 9.011159054003656 9.026018711 8.81949973 Calling exit ...