Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001459/0.001459, allocations: 104 kB / 16.45 MB, free: 6.445 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.001334/0.001334, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.8937/0.8937, allocations: 145.2 MB / 447.9 MB, free: 13.71 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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 69.48 kB / 0.6199 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1703, allocations: 86.64 MB / 0.7045 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005757/0.1761, allocations: 4.127 MB / 0.7086 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.1787, allocations: 1.328 MB / 0.7099 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.179, allocations: 19.94 kB / 0.7099 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1794, allocations: 130.7 kB / 0.71 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.1797, allocations: 190.4 kB / 0.7102 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.1806, allocations: 419.2 kB / 0.7106 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009844/0.1816, allocations: 0.9591 MB / 0.7115 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005125/0.1821, allocations: 314.5 kB / 0.7118 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1825, allocations: 326.8 kB / 0.7121 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.1828, allocations: 342.3 kB / 0.7125 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.183, allocations: 92 kB / 0.7125 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1831, allocations: 88 kB / 0.7126 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1832, allocations: 171.5 kB / 0.7128 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.1836, allocations: 398 kB / 0.7132 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1847, allocations: 1.117 MB / 0.7143 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1847, allocations: 0 / 0.7143 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1847, allocations: 7.938 kB / 0.7143 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.1847, allocations: 0 / 0.7143 GB, free: 9.164 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001902/0.1866, allocations: 1.1 MB / 0.7153 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1867, allocations: 12.03 kB / 0.7154 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1868, allocations: 98.64 kB / 0.7155 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.1869, allocations: 92.42 kB / 0.7155 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.1879, allocations: 0.5577 MB / 0.7161 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.1879, allocations: 45.69 kB / 0.7161 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.188, allocations: 64.38 kB / 0.7162 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1891, allocations: 0.6037 MB / 0.7168 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.1891, allocations: 8 kB / 0.7168 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.1892, allocations: 20 kB / 0.7168 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.1892, allocations: 23.94 kB / 0.7168 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009571/0.1901, allocations: 457 kB / 0.7173 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1931, allocations: 2.005 MB / 0.7192 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.194, allocations: 419.6 kB / 0.7196 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.1944, allocations: 226.1 kB / 0.7198 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.1945, allocations: 4.438 kB / 0.7198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.195, allocations: 265.3 kB / 0.7201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/0.195, allocations: 3.938 kB / 0.7201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001276/0.1963, allocations: 0.5846 MB / 0.7207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.1963, allocations: 63.84 kB / 0.7207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.1969, allocations: 434.8 kB / 0.7211 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.1969, allocations: 37.7 kB / 0.7212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.1972, allocations: 332.8 kB / 0.7215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1973, allocations: 170.5 kB / 0.7217 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.1974, allocations: 98.23 kB / 0.7218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1976, allocations: 362.8 kB / 0.7221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.198, allocations: 165 kB / 0.7223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.1985, allocations: 253.8 kB / 0.7225 GB, free: 436 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.1993, allocations: 452 kB / 0.7229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1993, allocations: 0 / 0.7229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001029/0.2003, allocations: 0.5704 MB / 0.7235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.2004, allocations: 33.7 kB / 0.7235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2004, allocations: 0 / 0.7235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2004, allocations: 4 kB / 0.7235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.2009, allocations: 115.8 kB / 0.7236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.2009, allocations: 4 kB / 0.7236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.2012, allocations: 67.84 kB / 0.7237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.2012, allocations: 16 kB / 0.7237 GB, free: 15.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000261/0.2015, allocations: 214.5 kB / 0.7239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.2016, allocations: 59.61 kB / 0.724 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.2017, allocations: 65.58 kB / 0.724 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2017, allocations: 4 kB / 0.724 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2017, allocations: 3.938 kB / 0.724 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.2017, allocations: 11.98 kB / 0.7241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.2036, allocations: 1.174 MB / 0.7252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2036, allocations: 0 / 0.7252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.204, allocations: 91.83 kB / 0.7253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.204, allocations: 0 / 0.7253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.2041, allocations: 19.98 kB / 0.7253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2041, allocations: 4 kB / 0.7253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2041, allocations: 0 / 0.7253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.2055, allocations: 0.7576 MB / 0.7261 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.2057, allocations: 180.6 kB / 0.7262 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.2057, allocations: 12 kB / 0.7262 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.206, allocations: 20.09 kB / 0.7263 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2061, allocations: 36.39 kB / 0.7263 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.2061, allocations: 20 kB / 0.7263 GB, free: 12.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003763/0.2065, allocations: 310.9 kB / 0.7266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2065, allocations: 3.938 kB / 0.7266 GB, free: 12.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004471/0.207, allocations: 135.7 kB / 0.7267 GB, free: 11.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001684/0.2087, allocations: 1.321 MB / 0.728 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009508/0.2096, allocations: 465 kB / 0.7285 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2096, allocations: 0 / 0.7285 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.21, allocations: 202.9 kB / 0.7287 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.2108, allocations: 167.8 kB / 0.7288 GB, free: 9.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/0.2182, allocations: 4.808 MB / 0.7335 GB, free: 4.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.2187, allocations: 0.8938 MB / 0.7344 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.219, allocations: 64.58 kB / 0.7345 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.2193, allocations: 219.4 kB / 0.7347 GB, free: 3.617 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.2193, allocations: 0 / 0.7347 GB, free: 3.617 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.2581, allocations: 11.41 MB / 0.7458 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.808, allocations: 11.5 kB / 0.7458 GB, free: 8.402 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.700145116541535] Failed to read output from testmodel.py, exit status != 0: 8.887498010881245 8.911705339 8.722667536 Calling exit ...