Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.001639/0.001639, 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.002008/0.002008, allocations: 221.6 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.006/1.006, allocations: 150 MB / 463.2 MB, free: 10.47 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.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis",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.002111/0.002111, allocations: 73.14 kB / 0.6413 GB, free: 10.27 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2094, allocations: 89.17 MB / 0.7284 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002122/0.2115, allocations: 0.8398 MB / 0.7292 GB, free: 340 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2127, allocations: 0.9327 MB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.2128, allocations: 0 / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.2128, allocations: 11.86 kB / 0.7301 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.213, allocations: 19.75 kB / 0.7302 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.2132, allocations: 43.94 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.2134, allocations: 115.6 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2135, allocations: 17.3 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.2137, allocations: 59.83 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2138, allocations: 59.7 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.2139, allocations: 8 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.911e-05/0.2139, allocations: 19.94 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.2139, allocations: 27.91 kB / 0.7305 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.214, allocations: 51.72 kB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2142, allocations: 123.7 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2142, allocations: 4 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2142, allocations: 0 / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2142, allocations: 0 / 0.7307 GB, free: 14.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007318/0.2149, allocations: 373.7 kB / 0.731 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.215, allocations: 8.031 kB / 0.731 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.215, allocations: 42.73 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.2153, allocations: 28.88 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.2157, allocations: 191.2 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2158, allocations: 4.375 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2158, allocations: 12.38 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.2161, allocations: 120.3 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2161, allocations: 0 / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2161, allocations: 3.984 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2161, allocations: 4 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.2164, allocations: 71.88 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.217, allocations: 480.1 kB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.2173, allocations: 111.8 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2174, allocations: 58.55 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2175, allocations: 0 / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.2175, allocations: 38.56 kB / 0.7321 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2175, allocations: 0 / 0.7321 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005875/0.2181, allocations: 165.4 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.2182, allocations: 103.1 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2183, allocations: 157.5 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2184, allocations: 25.7 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.2185, allocations: 116.2 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.2185, allocations: 23.78 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.2185, allocations: 25.72 kB / 0.7327 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2187, allocations: 326.8 kB / 0.733 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2189, allocations: 43.95 kB / 0.7331 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.219, allocations: 77.12 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.2193, allocations: 102.4 kB / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2193, allocations: 0 / 0.7333 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000362/0.2197, allocations: 137.5 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2197, allocations: 8 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2197, allocations: 0 / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2197, allocations: 0 / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2199, allocations: 27.91 kB / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2199, allocations: 7.938 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.22, allocations: 15.94 kB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.22, allocations: 4 kB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001224/0.2201, allocations: 125.8 kB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.2202, allocations: 7.953 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.2205, allocations: 93.92 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2205, allocations: 384 / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2205, allocations: 0 / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2205, allocations: 11.92 kB / 0.7337 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2208, allocations: 180.7 kB / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2208, allocations: 0 / 0.7339 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2209, allocations: 19.97 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2209, allocations: 0 / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.2209, allocations: 7.984 kB / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2209, allocations: 0 / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2209, allocations: 0 / 0.7339 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.2214, allocations: 373.9 kB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.2214, allocations: 11.89 kB / 0.7342 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2215, allocations: 4 kB / 0.7342 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2217, allocations: 19.97 kB / 0.7343 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.2217, allocations: 23.95 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.2217, allocations: 7.938 kB / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.581e-05/0.2218, allocations: 109.9 kB / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2218, allocations: 0 / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000327/0.2222, allocations: 23.95 kB / 0.7344 GB, free: 10.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008545/0.223, allocations: 0.9102 MB / 0.7353 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003831/0.2234, allocations: 99.92 kB / 0.7354 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2234, allocations: 0 / 0.7354 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2236, allocations: 47.91 kB / 0.7355 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.2241, allocations: 19.92 kB / 0.7355 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.2267, allocations: 1.808 MB / 0.7372 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2271, allocations: 0.7 MB / 0.7379 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.979e-05/0.2272, allocations: 16.64 kB / 0.7379 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.2273, allocations: 39.41 kB / 0.738 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.2273, allocations: 4 kB / 0.738 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.259, allocations: 2.844 MB / 0.7408 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.92, allocations: 4.281 kB / 0.7408 GB, free: 4.137 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Hysteresis.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.963343149000139] Failed to read output from testmodel.py, exit status != 0: 11.033308628000668 11.061138209 10.84194025 Calling exit ...