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.001961/0.001961, allocations: 119 kB / 19.69 MB, free: 2.199 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.002506/0.002506, allocations: 224.7 kB / 23.01 MB, free: 5.047 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.9746/0.9746, allocations: 150 MB / 463.2 MB, free: 10.57 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="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.002388/0.002388, allocations: 65.98 kB / 0.6412 GB, free: 10.54 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2095, allocations: 89.17 MB / 0.7283 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00573/0.2153, allocations: 3.021 MB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2176, allocations: 0.978 MB / 0.7322 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.2181, allocations: 19.81 kB / 0.7323 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.2185, allocations: 67.33 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.2189, allocations: 103.2 kB / 0.7324 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.2196, allocations: 230.3 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007171/0.2203, allocations: 499.2 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.2207, allocations: 154.4 kB / 0.7333 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.2211, allocations: 191.2 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.2214, allocations: 183 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-05/0.2215, allocations: 44 kB / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.2216, allocations: 48 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.2217, allocations: 91.64 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.2219, allocations: 202.9 kB / 0.734 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.2227, allocations: 0.5251 MB / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2227, allocations: 0 / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.2227, allocations: 0 / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.2227, allocations: 0 / 0.7345 GB, free: 11.08 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.001361/0.2241, allocations: 0.6489 MB / 0.7351 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.2241, allocations: 8.031 kB / 0.7351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.2242, allocations: 70.66 kB / 0.7352 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.2244, allocations: 60.61 kB / 0.7353 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007693/0.2252, allocations: 342.8 kB / 0.7356 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.2252, allocations: 25.03 kB / 0.7356 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.2253, allocations: 32.38 kB / 0.7356 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.226, allocations: 341.5 kB / 0.736 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.226, allocations: 3.938 kB / 0.736 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.226, allocations: 12 kB / 0.736 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.226, allocations: 8 kB / 0.736 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.2265, allocations: 222.5 kB / 0.7362 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2283, allocations: 1.136 MB / 0.7373 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.2289, allocations: 226.7 kB / 0.7375 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.2292, allocations: 108.8 kB / 0.7376 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2292, allocations: 4 kB / 0.7376 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2292, allocations: 30.94 kB / 0.7377 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.2292, allocations: 7.938 kB / 0.7377 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0007381/0.23, allocations: 296.6 kB / 0.738 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.23, allocations: 106.8 kB / 0.7381 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.2305, allocations: 341.7 kB / 0.7384 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.2305, allocations: 29.7 kB / 0.7384 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2307, allocations: 232.5 kB / 0.7386 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.2308, allocations: 75.31 kB / 0.7387 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.2309, allocations: 57.66 kB / 0.7388 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.2311, allocations: 342.8 kB / 0.7391 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.2313, allocations: 79.95 kB / 0.7392 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2315, allocations: 143.7 kB / 0.7393 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.2319, allocations: 206.8 kB / 0.7395 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.232, allocations: 3.938 kB / 0.7395 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005829/0.2325, allocations: 284.5 kB / 0.7398 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2326, allocations: 8 kB / 0.7398 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2326, allocations: 0 / 0.7398 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2326, allocations: 4 kB / 0.7398 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2328, allocations: 55.91 kB / 0.7398 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2328, allocations: 4 kB / 0.7398 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.233, allocations: 36.05 kB / 0.7399 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.233, allocations: 8 kB / 0.7399 GB, free: 5.262 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.0001926/0.2332, allocations: 169.6 kB / 0.7401 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.2333, allocations: 35.77 kB / 0.7401 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.2334, allocations: 39.45 kB / 0.7401 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2334, allocations: 4 kB / 0.7401 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2334, allocations: 0 / 0.7401 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2334, allocations: 0 / 0.7401 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.2339, allocations: 372.3 kB / 0.7405 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2339, allocations: 0 / 0.7405 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.2341, allocations: 39.97 kB / 0.7405 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2341, allocations: 0 / 0.7405 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2342, allocations: 4 kB / 0.7405 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2342, allocations: 4 kB / 0.7405 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2342, allocations: 0 / 0.7405 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.2349, allocations: 431 kB / 0.7409 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.235, allocations: 59.7 kB / 0.741 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.2351, allocations: 15.88 kB / 0.741 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2352, allocations: 15.98 kB / 0.741 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.2353, allocations: 15.95 kB / 0.741 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2353, allocations: 8 kB / 0.741 GB, free: 4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000267/0.2356, allocations: 239.2 kB / 0.7413 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2356, allocations: 8.062 kB / 0.7413 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000345/0.2359, allocations: 71.78 kB / 0.7414 GB, free: 3.691 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.001071/0.237, allocations: 0.961 MB / 0.7423 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2375, allocations: 191.7 kB / 0.7425 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2375, allocations: 0 / 0.7425 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.2377, allocations: 91.91 kB / 0.7426 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.2382, allocations: 81.28 kB / 0.7426 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004887/0.2431, allocations: 3.136 MB / 0.7457 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.2436, allocations: 0.7912 MB / 0.7465 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.2438, allocations: 38.95 kB / 0.7465 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.244, allocations: 127.4 kB / 0.7466 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.244, allocations: 0 / 0.7466 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.2853, allocations: 6.959 MB / 0.7534 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.95, allocations: 3.984 kB / 0.7534 GB, free: 7.344 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.26730541093275] Failed to read output from testmodel.py, exit status != 0: 12.061402507126331 12.378541033 12.152059394 Calling exit ...