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.001367/0.001367, 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.00163/0.00163, allocations: 213 kB / 22.99 MB, free: 4.602 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.036/1.036, allocations: 149.9 MB / 463 MB, free: 10.36 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.002271/0.002271, allocations: 68.52 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2025, allocations: 89.16 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002221/0.2048, allocations: 0.8004 MB / 0.729 GB, free: 192 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2061, allocations: 0.9248 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.2062, allocations: 4 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.2062, allocations: 11.88 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2063, allocations: 15.8 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2066, allocations: 51.86 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2067, allocations: 103.7 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2068, allocations: 21.3 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.207, allocations: 59.77 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.2071, allocations: 47.77 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.2071, allocations: 12 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.2072, allocations: 20 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.2072, allocations: 31.89 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.942e-05/0.2073, allocations: 35.8 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.2075, allocations: 123.7 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2075, allocations: 0 / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2075, allocations: 0 / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2075, allocations: 0 / 0.7304 GB, free: 14.72 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.0007257/0.2082, allocations: 381.6 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2083, allocations: 12.03 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.2083, allocations: 42.69 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.2086, allocations: 28.86 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.2091, allocations: 185.7 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2091, allocations: 8.375 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.2091, allocations: 12.38 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.2094, allocations: 120.4 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2094, allocations: 0 / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2094, allocations: 8 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2094, allocations: 0 / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.2097, allocations: 71.92 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.2103, allocations: 468.1 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.2106, allocations: 111.8 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2108, allocations: 46.61 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.2108, allocations: 4 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2108, allocations: 42.48 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2108, allocations: 8 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.2114, allocations: 153.5 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/0.2115, allocations: 106.8 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2116, allocations: 146.2 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.2117, allocations: 33.7 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.2117, allocations: 108.5 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.2118, allocations: 39.66 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2118, allocations: 25.72 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.212, allocations: 326.8 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2122, allocations: 39.95 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2124, allocations: 162.9 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.2127, allocations: 94.5 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2127, allocations: 0 / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003762/0.213, allocations: 133.5 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.213, allocations: 4 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2131, allocations: 4 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2131, allocations: 3.938 kB / 0.7332 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2132, allocations: 23.97 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2132, allocations: 4 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2133, allocations: 15.94 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2133, allocations: 8 kB / 0.7333 GB, free: 11.51 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.000107/0.2135, allocations: 121.8 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.2135, allocations: 7.953 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.2138, allocations: 93.92 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2138, allocations: 4 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2138, allocations: 3.984 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.2138, allocations: 4 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.2141, allocations: 164.7 kB / 0.7336 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2141, allocations: 0 / 0.7336 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2142, allocations: 19.97 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2142, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.2142, allocations: 12.06 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2142, allocations: 0 / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2142, allocations: 3.938 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.2147, allocations: 373.9 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.2147, allocations: 16.2 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.2147, allocations: 4 kB / 0.734 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.215, allocations: 15.98 kB / 0.7341 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.215, allocations: 23.95 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.215, allocations: 7.922 kB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.116e-05/0.2151, allocations: 114.3 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2151, allocations: 0 / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003133/0.2154, allocations: 23.95 kB / 0.7342 GB, free: 10.43 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.0007896/0.2162, allocations: 0.9016 MB / 0.7351 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.2166, allocations: 99.84 kB / 0.7352 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2166, allocations: 0 / 0.7352 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.2168, allocations: 55.83 kB / 0.7352 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2172, allocations: 11.94 kB / 0.7353 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.2196, allocations: 1.808 MB / 0.737 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.2198, allocations: 92.11 kB / 0.7371 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.371e-05/0.2199, allocations: 20.58 kB / 0.7371 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.2199, allocations: 35.42 kB / 0.7372 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2199, allocations: 0 / 0.7372 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.2519, allocations: 3.291 MB / 0.7404 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.5, allocations: 10.55 kB / 0.7404 GB, free: 4.129 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.644866186659783] Failed to read output from testmodel.py, exit status != 0: 11.603637562133372 11.623450148 11.412696174 Calling exit ...