Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001495/0.001495, allocations: 109 kB / 20.48 MB, free: 1.473 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.002352/0.002352, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 7.992 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 0.9828/0.9828, allocations: 150 MB / 464 MB, free: 10.53 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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",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.002065/0.002065, allocations: 66.55 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2063, allocations: 89.17 MB / 0.7291 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004928/0.2112, allocations: 3.028 MB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2133, allocations: 0.9703 MB / 0.733 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.2135, allocations: 23.81 kB / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2138, allocations: 71.31 kB / 0.7331 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.214, allocations: 87.19 kB / 0.7332 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006058/0.2146, allocations: 239.2 kB / 0.7334 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.2151, allocations: 495.2 kB / 0.7339 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.2154, allocations: 154.4 kB / 0.734 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.2158, allocations: 191.2 kB / 0.7342 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.216, allocations: 179 kB / 0.7344 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.2161, allocations: 47.98 kB / 0.7344 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.2162, allocations: 56 kB / 0.7345 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.2163, allocations: 83.7 kB / 0.7345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2164, allocations: 206.8 kB / 0.7347 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.2171, allocations: 0.5173 MB / 0.7352 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2171, allocations: 4 kB / 0.7353 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2171, allocations: 0 / 0.7353 GB, free: 11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2171, allocations: 7.938 kB / 0.7353 GB, free: 11 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001261/0.2184, allocations: 0.6472 MB / 0.7359 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.2184, allocations: 12.02 kB / 0.7359 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.131e-05/0.2184, allocations: 16.84 kB / 0.7359 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.2185, allocations: 66.67 kB / 0.736 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.2188, allocations: 64.59 kB / 0.736 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.2196, allocations: 330.9 kB / 0.7364 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.2196, allocations: 32.95 kB / 0.7364 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.2197, allocations: 28.38 kB / 0.7364 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.2203, allocations: 341.3 kB / 0.7367 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.2204, allocations: 3.938 kB / 0.7367 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.2204, allocations: 16 kB / 0.7368 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2204, allocations: 8 kB / 0.7368 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.2209, allocations: 206.5 kB / 0.737 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.2226, allocations: 1.144 MB / 0.7381 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.2233, allocations: 226.8 kB / 0.7383 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.2235, allocations: 106.1 kB / 0.7384 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2236, allocations: 0 / 0.7384 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.2236, allocations: 42.88 kB / 0.7384 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 3.607e-06/0.2236, allocations: 7.938 kB / 0.7385 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0007456/0.2244, allocations: 295.5 kB / 0.7387 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.2244, allocations: 102.8 kB / 0.7388 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.2248, allocations: 341.7 kB / 0.7392 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.2249, allocations: 33.7 kB / 0.7392 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.2251, allocations: 220.5 kB / 0.7394 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.2251, allocations: 83.3 kB / 0.7395 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.2252, allocations: 57.66 kB / 0.7395 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2254, allocations: 346.8 kB / 0.7399 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.2256, allocations: 75.97 kB / 0.7399 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.2258, allocations: 147.7 kB / 0.7401 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.2263, allocations: 213.1 kB / 0.7403 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.2263, allocations: 4 kB / 0.7403 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005351/0.2268, allocations: 277.2 kB / 0.7405 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2268, allocations: 8 kB / 0.7406 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2268, allocations: 0 / 0.7406 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.2268, allocations: 4.188 kB / 0.7406 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.2271, allocations: 55.91 kB / 0.7406 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2271, allocations: 4 kB / 0.7406 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.2273, allocations: 27.88 kB / 0.7406 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.2273, allocations: 15.94 kB / 0.7407 GB, free: 5.172 MB / 0.5606 GB 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 0.0001833/0.2275, allocations: 169.6 kB / 0.7408 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2276, allocations: 39.77 kB / 0.7409 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.364e-05/0.2277, allocations: 35.45 kB / 0.7409 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2277, allocations: 8 kB / 0.7409 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2277, allocations: 0 / 0.7409 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2277, allocations: 0 / 0.7409 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.2281, allocations: 364.4 kB / 0.7412 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2281, allocations: 0 / 0.7412 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.2284, allocations: 47.91 kB / 0.7413 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2284, allocations: 0 / 0.7413 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2284, allocations: 8 kB / 0.7413 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2284, allocations: 0 / 0.7413 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2284, allocations: 0 / 0.7413 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.2291, allocations: 435 kB / 0.7417 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2292, allocations: 55.7 kB / 0.7418 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2293, allocations: 11.94 kB / 0.7418 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2295, allocations: 11.98 kB / 0.7418 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.2295, allocations: 24.03 kB / 0.7418 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.2296, allocations: 7.984 kB / 0.7418 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002551/0.2298, allocations: 239.2 kB / 0.7421 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2298, allocations: 0 / 0.7421 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003384/0.2301, allocations: 75.72 kB / 0.7421 GB, free: 3.602 MB / 0.5606 GB 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 0.001059/0.2312, allocations: 0.9641 MB / 0.7431 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.2317, allocations: 188.6 kB / 0.7432 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2317, allocations: 0 / 0.7432 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2319, allocations: 93.66 kB / 0.7433 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.2324, allocations: 80.89 kB / 0.7434 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.237, allocations: 3.147 MB / 0.7465 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2374, allocations: 0.7873 MB / 0.7473 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000159/0.2376, allocations: 38.97 kB / 0.7473 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.2378, allocations: 123.4 kB / 0.7474 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.2378, allocations: 0 / 0.7474 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/0.2712, allocations: 6.981 MB / 0.7542 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.04, allocations: 10.08 kB / 0.7542 GB, free: 7.242 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.409494824998546] Failed to read output from testmodel.py, exit status != 0: 12.2093035930302 12.504098781 12.284184543 Calling exit ...