Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001294/0.001294, allocations: 97.11 kB / 19.74 MB, free: 1.871 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.001579/0.001579, allocations: 204.3 kB / 23.04 MB, free: 5.008 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.9701/0.9701, allocations: 150 MB / 463.2 MB, free: 10.18 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.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",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.001994/0.001994, allocations: 63.06 kB / 0.6413 GB, free: 9.836 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1997, allocations: 89.19 MB / 0.7284 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002525/0.2022, allocations: 0.8941 MB / 0.7293 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.2043, allocations: 1.455 MB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.2044, allocations: 0 / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.2044, allocations: 19.73 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2046, allocations: 55.58 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.2056, allocations: 448.7 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.2061, allocations: 491.1 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2062, allocations: 29.94 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.2065, allocations: 187.6 kB / 0.7318 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.2067, allocations: 147.4 kB / 0.732 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.043e-05/0.2068, allocations: 52 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.2069, allocations: 59.98 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.207, allocations: 39.84 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.2071, allocations: 151.5 kB / 0.7323 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.2077, allocations: 0.4948 MB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2077, allocations: 0 / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2077, allocations: 0 / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2077, allocations: 0 / 0.7328 GB, free: 12.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008444/0.2085, allocations: 0.5663 MB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2086, allocations: 8.031 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.2086, allocations: 42.69 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.2087, allocations: 28.83 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2089, allocations: 169.3 kB / 0.7336 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.2089, allocations: 12.38 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.209, allocations: 24.38 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2092, allocations: 125.6 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2092, allocations: 3.938 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2092, allocations: 7.984 kB / 0.7337 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2092, allocations: 3.938 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2093, allocations: 55.92 kB / 0.7338 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.2103, allocations: 0.75 MB / 0.7345 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.2105, allocations: 118.4 kB / 0.7346 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.2105, allocations: 55.48 kB / 0.7347 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2106, allocations: 0 / 0.7347 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.2109, allocations: 172.6 kB / 0.7348 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2109, allocations: 3.938 kB / 0.7348 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.000474/0.2114, allocations: 233.9 kB / 0.7351 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2115, allocations: 140.5 kB / 0.7352 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.2118, allocations: 240.8 kB / 0.7354 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.2119, allocations: 37.7 kB / 0.7355 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.212, allocations: 140.4 kB / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.2121, allocations: 35.73 kB / 0.7356 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.2122, allocations: 89.66 kB / 0.7357 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2124, allocations: 334.8 kB / 0.736 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.2128, allocations: 271 kB / 0.7363 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.2133, allocations: 353.5 kB / 0.7366 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.2138, allocations: 372.9 kB / 0.737 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2138, allocations: 4 kB / 0.737 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001012/0.2148, allocations: 0.6862 MB / 0.7377 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.2149, allocations: 134.8 kB / 0.7378 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2149, allocations: 4 kB / 0.7378 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2149, allocations: 4.25 kB / 0.7378 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.215, allocations: 15.94 kB / 0.7378 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.215, allocations: 4 kB / 0.7378 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006331/0.2156, allocations: 111.7 kB / 0.7379 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.2157, allocations: 27.97 kB / 0.738 GB, free: 6.383 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001737/0.2159, allocations: 150.4 kB / 0.7381 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.2159, allocations: 23.86 kB / 0.7381 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.216, allocations: 21.33 kB / 0.7381 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.216, allocations: 4 kB / 0.7381 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.216, allocations: 3.938 kB / 0.7381 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.216, allocations: 3.938 kB / 0.7381 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2162, allocations: 212.6 kB / 0.7384 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2163, allocations: 4 kB / 0.7384 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.2163, allocations: 16 kB / 0.7384 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2163, allocations: 0 / 0.7384 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2163, allocations: 7.984 kB / 0.7384 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2163, allocations: 0 / 0.7384 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2163, allocations: 3.938 kB / 0.7384 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.2166, allocations: 223.5 kB / 0.7386 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.2167, allocations: 31.73 kB / 0.7386 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2167, allocations: 4 kB / 0.7386 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.162e-05/0.2167, allocations: 7.984 kB / 0.7386 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.2168, allocations: 15.92 kB / 0.7387 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.2168, allocations: 8 kB / 0.7387 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001654/0.217, allocations: 172.5 kB / 0.7388 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.217, allocations: 0 / 0.7388 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003218/0.2173, allocations: 67.94 kB / 0.7389 GB, free: 5.336 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006753/0.218, allocations: 0.7618 MB / 0.7396 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008088/0.2188, allocations: 0.6026 MB / 0.7402 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2188, allocations: 0 / 0.7402 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.2189, allocations: 60.55 kB / 0.7403 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.2193, allocations: 72.31 kB / 0.7403 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.2238, allocations: 3.536 MB / 0.7438 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2239, allocations: 124.9 kB / 0.7439 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.688e-05/0.224, allocations: 17.64 kB / 0.7439 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.2241, allocations: 63.36 kB / 0.744 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of SimCode: time 1.372e-06/0.2241, allocations: 0 / 0.744 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.259, allocations: 7.53 MB / 0.7514 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.99, allocations: 9.484 kB / 0.7514 GB, free: 8.395 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.037452336167917] Failed to read output from testmodel.py, exit status != 0: 11.093372791074216 11.389185356 11.178988637 Calling exit ...