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.0008496/0.0008496, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.00104/0.00104, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9281/0.9281, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5561/0.5561, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 0.5543 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.57e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00221/0.002236, allocations: 0.8093 MB / 0.555 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003529, allocations: 0.9172 MB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.003595, allocations: 0 / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.003642, allocations: 11.88 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.003771, allocations: 23.72 kB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.004076, allocations: 43.88 kB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.004241, allocations: 115.6 kB / 0.5561 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004384, allocations: 21.23 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.004637, allocations: 75.88 kB / 0.5562 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004741, allocations: 39.88 kB / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.00477, allocations: 12 kB / 0.5563 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.004824, allocations: 12 kB / 0.5563 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.004857, allocations: 31.89 kB / 0.5563 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.004902, allocations: 31.86 kB / 0.5563 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.005129, allocations: 131.5 kB / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005132, allocations: 0 / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005134, allocations: 0 / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.00514, allocations: 0 / 0.5565 GB, free: 444 kB / 0.5105 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.0006463/0.005786, allocations: 373.7 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.005833, allocations: 8.625 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.22e-05/0.005895, allocations: 38.75 kB / 0.5569 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/0.006122, allocations: 32.81 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.00654, allocations: 189.7 kB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.006571, allocations: 12.38 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.006592, allocations: 8.375 kB / 0.5571 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.006871, allocations: 124.2 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006882, allocations: 192 / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.006899, allocations: 8.375 kB / 0.5572 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.006907, allocations: 3.938 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.007137, allocations: 71.92 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.007839, allocations: 464.1 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.008062, allocations: 107.8 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.008149, allocations: 54.61 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.008176, allocations: 7.938 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.0082, allocations: 34.5 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.023e-06/0.008202, allocations: 4 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.008594, allocations: 165.8 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.008644, allocations: 106.8 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.008742, allocations: 144.3 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.008764, allocations: 37.64 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.008822, allocations: 104.3 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.008852, allocations: 27.75 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.008897, allocations: 29.7 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.008982, allocations: 322.8 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.009079, allocations: 39.91 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.009205, allocations: 166.2 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.009354, allocations: 94.48 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.009356, allocations: 0 / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002046/0.009561, allocations: 141.4 kB / 0.5593 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.009578, allocations: 10.03 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.009584, allocations: 4 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.009599, allocations: 0 / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.00969, allocations: 15.98 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.009699, allocations: 7.984 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.645e-05/0.009795, allocations: 19.94 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.009807, allocations: 4 kB / 0.5593 GB, free: 13.22 MB / 0.5261 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 9.852e-05/0.009906, allocations: 125.8 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.009944, allocations: 11.95 kB / 0.5595 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.01012, allocations: 89.92 kB / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01013, allocations: 0 / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01013, allocations: 0 / 0.5595 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01014, allocations: 7.984 kB / 0.5595 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01035, allocations: 168.7 kB / 0.5597 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01035, allocations: 4.062 kB / 0.5597 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.0104, allocations: 15.98 kB / 0.5597 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01041, allocations: 7.984 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01042, allocations: 4 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01042, allocations: 0 / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01043, allocations: 3.938 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.01068, allocations: 369.9 kB / 0.5601 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.01069, allocations: 15.88 kB / 0.5601 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01071, allocations: 4 kB / 0.5601 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01081, allocations: 15.98 kB / 0.5601 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.01087, allocations: 27.95 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.01088, allocations: 0 / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.353e-05/0.01093, allocations: 118.6 kB / 0.5603 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01093, allocations: 0 / 0.5603 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002082/0.01114, allocations: 20 kB / 0.5603 GB, free: 12.15 MB / 0.5261 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.0004688/0.01161, allocations: 0.9022 MB / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01183, allocations: 96.25 kB / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01183, allocations: 0 / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.01192, allocations: 56.05 kB / 0.5613 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.01228, allocations: 12.09 kB / 0.5613 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.01378, allocations: 1.817 MB / 0.5631 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.01386, allocations: 100.2 kB / 0.5632 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.01393, allocations: 16.64 kB / 0.5632 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.014, allocations: 32.48 kB / 0.5632 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/0.014, allocations: 0 / 0.5632 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.02948, allocations: 3.421 MB / 0.5666 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.301, allocations: 6.984 kB / 0.5666 GB, free: 5.707 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.963518789038062] Failed to read output from testmodel.py, exit status != 0: 7.383412830531597 7.395511734 7.387411996 Calling exit ...