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.001357/0.001357, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001497/0.001497, allocations: 212.7 kB / 22.99 MB, free: 4.605 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.052/1.052, allocations: 149.9 MB / 463 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.003245/0.003245, allocations: 70.36 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2009, allocations: 89.17 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004734/0.2056, allocations: 2.805 MB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2074, allocations: 0.9352 MB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.2076, allocations: 15.88 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.2079, allocations: 67.33 kB / 0.7319 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.208, allocations: 91.17 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.2086, allocations: 230.8 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.2091, allocations: 499.2 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.2094, allocations: 146.4 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.2097, allocations: 195.2 kB / 0.733 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2099, allocations: 151.1 kB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.21, allocations: 44 kB / 0.7332 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-05/0.2101, allocations: 52 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.2101, allocations: 99.56 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.2103, allocations: 155.2 kB / 0.7335 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006243/0.2109, allocations: 0.5251 MB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2109, allocations: 0 / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2109, allocations: 4 kB / 0.734 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.2109, allocations: 0 / 0.734 GB, free: 11.02 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.001125/0.2121, allocations: 0.6489 MB / 0.7346 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2121, allocations: 8.031 kB / 0.7346 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.713e-05/0.2122, allocations: 66.72 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2124, allocations: 64.55 kB / 0.7347 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.213, allocations: 345.5 kB / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.2131, allocations: 28.95 kB / 0.7351 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2131, allocations: 28.38 kB / 0.7351 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.2137, allocations: 418.6 kB / 0.7355 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2138, allocations: 3.938 kB / 0.7355 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.2138, allocations: 12 kB / 0.7355 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2138, allocations: 8 kB / 0.7355 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.2143, allocations: 210.5 kB / 0.7357 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.2158, allocations: 1.016 MB / 0.7367 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.2164, allocations: 225.5 kB / 0.737 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2167, allocations: 104.8 kB / 0.7371 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2167, allocations: 4 kB / 0.7371 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2167, allocations: 38.92 kB / 0.7371 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.2167, allocations: 4 kB / 0.7371 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0007046/0.2174, allocations: 290.9 kB / 0.7374 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.2175, allocations: 110.8 kB / 0.7375 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.2179, allocations: 341.7 kB / 0.7378 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2179, allocations: 33.7 kB / 0.7378 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.2181, allocations: 232.4 kB / 0.7381 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.2182, allocations: 83.27 kB / 0.7381 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.868e-05/0.2183, allocations: 49.7 kB / 0.7382 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2184, allocations: 346.8 kB / 0.7385 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.2186, allocations: 75.97 kB / 0.7386 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.2189, allocations: 199.1 kB / 0.7388 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.2193, allocations: 213.2 kB / 0.739 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2193, allocations: 3.938 kB / 0.739 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005541/0.2199, allocations: 281.3 kB / 0.7393 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2199, allocations: 8 kB / 0.7393 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2199, allocations: 0 / 0.7393 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2199, allocations: 4 kB / 0.7393 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2201, allocations: 51.91 kB / 0.7393 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2202, allocations: 4 kB / 0.7393 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2203, allocations: 35.77 kB / 0.7394 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.2204, allocations: 15.98 kB / 0.7394 GB, free: 5.176 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.0001782/0.2205, allocations: 161.8 kB / 0.7395 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.2206, allocations: 39.77 kB / 0.7396 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2207, allocations: 35.45 kB / 0.7396 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2207, allocations: 4 kB / 0.7396 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2207, allocations: 0 / 0.7396 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2207, allocations: 0 / 0.7396 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.2212, allocations: 332.4 kB / 0.7399 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2212, allocations: 3.984 kB / 0.7399 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2214, allocations: 43.92 kB / 0.74 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2214, allocations: 0 / 0.74 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2214, allocations: 11.98 kB / 0.74 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2214, allocations: 4 kB / 0.74 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2214, allocations: 0 / 0.74 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.2222, allocations: 437.2 kB / 0.7404 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2223, allocations: 47.77 kB / 0.7404 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.2223, allocations: 7.984 kB / 0.7404 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2225, allocations: 15.98 kB / 0.7405 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2226, allocations: 27.97 kB / 0.7405 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2226, allocations: 4 kB / 0.7405 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002597/0.2229, allocations: 243.2 kB / 0.7407 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2229, allocations: 0 / 0.7407 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003332/0.2232, allocations: 67.84 kB / 0.7408 GB, free: 3.652 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.001046/0.2242, allocations: 0.9557 MB / 0.7417 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.2247, allocations: 198.4 kB / 0.7419 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2247, allocations: 3.938 kB / 0.7419 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2249, allocations: 95.89 kB / 0.742 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.2254, allocations: 81.95 kB / 0.7421 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.2298, allocations: 3.131 MB / 0.7451 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.23, allocations: 199 kB / 0.7453 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000157/0.2302, allocations: 34.97 kB / 0.7454 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.2304, allocations: 127.4 kB / 0.7455 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.2304, allocations: 0 / 0.7455 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/0.2726, allocations: 7.502 MB / 0.7528 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.72, allocations: 11.44 kB / 0.7528 GB, free: 7.402 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.10384306916967] Failed to read output from testmodel.py, exit status != 0: 11.839261448010802 12.151510477 11.937983784 Calling exit ...