Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001254/0.001254, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001379/0.001379, allocations: 204 kB / 20.09 MB, free: 2.977 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.022/1.022, allocations: 150 MB / 459.5 MB, free: 5.312 MB / 350.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.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",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.002027/0.002027, allocations: 74.81 kB / 0.6362 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1843, allocations: 89.14 MB / 0.7232 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002158/0.1864, allocations: 0.8699 MB / 0.7241 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.188, allocations: 1.2 MB / 0.7252 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.188, allocations: 4 kB / 0.7253 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.082e-05/0.1881, allocations: 7.875 kB / 0.7253 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.174e-05/0.1881, allocations: 19.8 kB / 0.7253 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.1887, allocations: 161.4 kB / 0.7254 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1889, allocations: 167.7 kB / 0.7256 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.189, allocations: 29.05 kB / 0.7256 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1891, allocations: 71.81 kB / 0.7257 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1892, allocations: 67.72 kB / 0.7258 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.1892, allocations: 16 kB / 0.7258 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.1893, allocations: 31.92 kB / 0.7258 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.1894, allocations: 27.92 kB / 0.7258 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.1894, allocations: 63.7 kB / 0.7259 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1897, allocations: 171.6 kB / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1897, allocations: 0 / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1897, allocations: 0 / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1897, allocations: 0 / 0.7261 GB, free: 1.09 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000734/0.1904, allocations: 460.6 kB / 0.7265 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1905, allocations: 12.03 kB / 0.7265 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.1905, allocations: 38.75 kB / 0.7265 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.1906, allocations: 16.89 kB / 0.7266 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.1911, allocations: 256.2 kB / 0.7268 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1911, allocations: 16.31 kB / 0.7268 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.1912, allocations: 8.375 kB / 0.7268 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1914, allocations: 91.08 kB / 0.7269 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1914, allocations: 0 / 0.7269 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1914, allocations: 8 kB / 0.7269 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1914, allocations: 4 kB / 0.7269 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.1916, allocations: 47.89 kB / 0.727 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.1923, allocations: 384.5 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1925, allocations: 38.5 kB / 0.7274 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.1926, allocations: 32.95 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1926, allocations: 0 / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1928, allocations: 87.36 kB / 0.7275 GB, free: 15.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1928, allocations: 0 / 0.7275 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004556/0.1933, allocations: 145.7 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1933, allocations: 55.44 kB / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1935, allocations: 155.8 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1935, allocations: 29.64 kB / 0.7279 GB, free: 15.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.1936, allocations: 116 kB / 0.728 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1936, allocations: 31.88 kB / 0.728 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.1937, allocations: 45.7 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1939, allocations: 322.8 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.194, allocations: 51.95 kB / 0.7284 GB, free: 14.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1943, allocations: 131.1 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.1946, allocations: 196.6 kB / 0.7287 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1946, allocations: 0 / 0.7287 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005212/0.1952, allocations: 243 kB / 0.7289 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.489e-05/0.1952, allocations: 41.69 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.1952, allocations: 4 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1952, allocations: 4.375 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1953, allocations: 31.86 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1954, allocations: 4 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1956, allocations: 43.84 kB / 0.7291 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.1956, allocations: 12 kB / 0.7291 GB, free: 13.65 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001202/0.1957, allocations: 131.5 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.1958, allocations: 11.95 kB / 0.7292 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.1958, allocations: 16.72 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1958, allocations: 7.938 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1958, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1958, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.1964, allocations: 398.4 kB / 0.7296 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1964, allocations: 3.938 kB / 0.7296 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.1965, allocations: 15.92 kB / 0.7296 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1965, allocations: 4 kB / 0.7296 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1965, allocations: 4 kB / 0.7296 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1965, allocations: 0 / 0.7296 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1965, allocations: 0 / 0.7296 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.197, allocations: 250 kB / 0.7299 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.197, allocations: 92.94 kB / 0.73 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1971, allocations: 4 kB / 0.73 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.1972, allocations: 12.03 kB / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1972, allocations: 7.984 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.1972, allocations: 4 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.1973, allocations: 109.4 kB / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 0.7301 GB, free: 12.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000293/0.1976, allocations: 31.98 kB / 0.7301 GB, free: 12.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008249/0.1984, allocations: 0.7786 MB / 0.7309 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.1988, allocations: 175.8 kB / 0.7311 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1988, allocations: 0 / 0.7311 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.1989, allocations: 35.91 kB / 0.7311 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1992, allocations: 19.98 kB / 0.7311 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.2019, allocations: 1.965 MB / 0.733 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2022, allocations: 0.7161 MB / 0.7337 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.282e-05/0.2023, allocations: 12.66 kB / 0.7337 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.2023, allocations: 39.42 kB / 0.7338 GB, free: 8.508 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.2023, allocations: 0 / 0.7338 GB, free: 8.508 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.2304, allocations: 3.182 MB / 0.7369 GB, free: 5.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.411, allocations: 12.33 kB / 0.7369 GB, free: 5.453 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_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_IntegratorWithReset.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.44149263179861] Failed to read output from testmodel.py, exit status != 0: 8.481414014007896 8.509077952 8.314472021 Calling exit ...