Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001395/0.001395, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001571/0.001571, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.069/1.069, allocations: 149.9 MB / 463.1 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002301/0.002301, allocations: 67.25 kB / 0.641 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1855, allocations: 89.17 MB / 0.7281 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005828/0.1913, allocations: 3.728 MB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003111/0.1944, allocations: 1.321 MB / 0.7331 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.1949, allocations: 27.81 kB / 0.7331 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1953, allocations: 130.7 kB / 0.7332 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1958, allocations: 186.4 kB / 0.7334 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1968, allocations: 427.6 kB / 0.7338 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1979, allocations: 0.9515 MB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.1985, allocations: 294.9 kB / 0.735 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.1989, allocations: 338.7 kB / 0.7353 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000365/0.1992, allocations: 302.3 kB / 0.7356 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.1994, allocations: 88 kB / 0.7357 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1995, allocations: 92 kB / 0.7358 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1997, allocations: 175.4 kB / 0.736 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.1999, allocations: 310.5 kB / 0.7363 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.201, allocations: 1.07 MB / 0.7373 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2011, allocations: 0 / 0.7373 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.508e-06/0.2011, allocations: 4 kB / 0.7373 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.2011, allocations: 3.938 kB / 0.7373 GB, free: 7.586 MB / 0.5606 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.001968/0.203, allocations: 1.08 MB / 0.7384 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2031, allocations: 8.031 kB / 0.7384 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.2032, allocations: 98.7 kB / 0.7385 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.2034, allocations: 92.42 kB / 0.7385 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.2044, allocations: 0.4999 MB / 0.739 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.2044, allocations: 41.69 kB / 0.7391 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2045, allocations: 60.38 kB / 0.7391 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.2057, allocations: 0.6656 MB / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2057, allocations: 0 / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.2058, allocations: 28 kB / 0.7398 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.2058, allocations: 12 kB / 0.7398 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2068, allocations: 457 kB / 0.7403 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.2099, allocations: 1.779 MB / 0.742 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000985/0.2108, allocations: 418.4 kB / 0.7424 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.2113, allocations: 230.1 kB / 0.7426 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.2114, allocations: 12.31 kB / 0.7426 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.212, allocations: 261.3 kB / 0.7429 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.212, allocations: 0 / 0.7429 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001455/0.2134, allocations: 0.5814 MB / 0.7434 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.2135, allocations: 55.84 kB / 0.7435 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/0.2141, allocations: 457.9 kB / 0.7439 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.2141, allocations: 33.7 kB / 0.744 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.2144, allocations: 332.9 kB / 0.7443 GB, free: 208 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2146, allocations: 174.5 kB / 0.7444 GB, free: 32 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001961/0.2148, allocations: 94.3 kB / 0.7445 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.215, allocations: 362.8 kB / 0.7449 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.2154, allocations: 194.9 kB / 0.7451 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.2159, allocations: 276.4 kB / 0.7453 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/0.2168, allocations: 455 kB / 0.7458 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2168, allocations: 0 / 0.7458 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0012/0.218, allocations: 0.598 MB / 0.7464 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.218, allocations: 33.64 kB / 0.7464 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.218, allocations: 4 kB / 0.7464 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2181, allocations: 4 kB / 0.7464 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.2186, allocations: 116.1 kB / 0.7465 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.2186, allocations: 4 kB / 0.7465 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.2189, allocations: 59.64 kB / 0.7466 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.219, allocations: 20 kB / 0.7466 GB, free: 13.73 MB / 0.5762 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0002795/0.2192, allocations: 210.5 kB / 0.7468 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.2193, allocations: 71.56 kB / 0.7469 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.2195, allocations: 61.58 kB / 0.7469 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2195, allocations: 4 kB / 0.7469 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2195, allocations: 4 kB / 0.7469 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.2195, allocations: 3.984 kB / 0.7469 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2213, allocations: 1.076 MB / 0.748 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2213, allocations: 4 kB / 0.748 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.2218, allocations: 91.89 kB / 0.7481 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2218, allocations: 0 / 0.7481 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2219, allocations: 15.98 kB / 0.7481 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2219, allocations: 0 / 0.7481 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2219, allocations: 0 / 0.7481 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.2233, allocations: 0.7652 MB / 0.7488 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.2235, allocations: 99.52 kB / 0.7489 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.2236, allocations: 12 kB / 0.7489 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.2238, allocations: 27.97 kB / 0.749 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.2239, allocations: 40.31 kB / 0.749 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.224, allocations: 15.98 kB / 0.749 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003684/0.2243, allocations: 306.9 kB / 0.7493 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2243, allocations: 0 / 0.7493 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004701/0.2248, allocations: 143.6 kB / 0.7494 GB, free: 10.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.001744/0.2266, allocations: 1.317 MB / 0.7507 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009701/0.2275, allocations: 482.9 kB / 0.7512 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2275, allocations: 0 / 0.7512 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.228, allocations: 210.3 kB / 0.7514 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.2287, allocations: 163.2 kB / 0.7515 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00817/0.2369, allocations: 4.922 MB / 0.7564 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.2373, allocations: 292.7 kB / 0.7566 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003321/0.2376, allocations: 64.58 kB / 0.7567 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.238, allocations: 219.3 kB / 0.7569 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.238, allocations: 0 / 0.7569 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4366/0.6745, allocations: 12.41 MB / 0.769 GB, free: 33.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.28, allocations: 4.438 kB / 0.769 GB, free: 33.53 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.348104392178357] Failed to read output from testmodel.py, exit status != 0: 12.403744534123689 12.428088548 12.22216431 Calling exit ...