Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001628/0.001628, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001581/0.001581, allocations: 215.1 kB / 22.99 MB, free: 4.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.508/1.508, 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 0.9562/0.9562, allocations: 149.9 MB / 463 MB, free: 10.4 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.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002169/0.002169, allocations: 62.69 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1786, allocations: 89.18 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002056/0.1806, allocations: 0.6971 MB / 0.7289 GB, free: 332 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1823, allocations: 1.147 MB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.1823, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.1824, allocations: 4 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.1824, allocations: 19.86 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.1829, allocations: 130.8 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1831, allocations: 119.8 kB / 0.7303 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.1832, allocations: 11.97 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.1833, allocations: 47.86 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1834, allocations: 39.83 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.1834, allocations: 12 kB / 0.7304 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1835, allocations: 23.98 kB / 0.7304 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.1835, allocations: 7.984 kB / 0.7304 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1836, allocations: 47.84 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1838, allocations: 127.9 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1838, allocations: 0 / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.046e-06/0.1838, allocations: 0 / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.1838, allocations: 0 / 0.7306 GB, free: 14.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006212/0.1844, allocations: 327.7 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1845, allocations: 12.03 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.1845, allocations: 30.75 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1846, allocations: 8.891 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1848, allocations: 130.4 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1848, allocations: 4.375 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1848, allocations: 8.375 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1849, allocations: 38.25 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.185, allocations: 7.938 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.185, allocations: 0 / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.185, allocations: 0 / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.185, allocations: 15.94 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.1856, allocations: 283.9 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.1856, allocations: 30.56 kB / 0.7314 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.1857, allocations: 12.92 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1857, allocations: 7.938 kB / 0.7314 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1859, allocations: 63.33 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.572e-06/0.1859, allocations: 0 / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002312/0.1861, allocations: 77.64 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1862, allocations: 55.39 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1863, allocations: 123.5 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1864, allocations: 29.7 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.1864, allocations: 96.08 kB / 0.7319 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1865, allocations: 7.953 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.1865, allocations: 29.7 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1867, allocations: 322.8 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1868, allocations: 73.67 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1869, allocations: 88.27 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1871, allocations: 92.27 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1871, allocations: 4 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003312/0.1874, allocations: 196.9 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.1875, allocations: 39.89 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1875, allocations: 0 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1875, allocations: 64 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.1876, allocations: 15.92 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1876, allocations: 0 / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.1878, allocations: 28.14 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1878, allocations: 4 kB / 0.7327 GB, free: 12.11 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: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001244/0.1879, allocations: 121.8 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1879, allocations: 7.938 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.188, allocations: 15.98 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.188, allocations: 0 / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.188, allocations: 4 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.188, allocations: 0 / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1881, allocations: 140.7 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1881, allocations: 0 / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.764e-05/0.1882, allocations: 3.984 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1882, allocations: 4 kB / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1882, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1882, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1882, allocations: 0 / 0.733 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1883, allocations: 93 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.1883, allocations: 3.953 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1884, allocations: 15.92 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.1884, allocations: 4 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1884, allocations: 0 / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.1884, allocations: 8 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.441e-05/0.1885, allocations: 95.27 kB / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1885, allocations: 0 / 0.7332 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002261/0.1887, allocations: 23.94 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0005906/0.1893, allocations: 0.6318 MB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.1896, allocations: 157.1 kB / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1896, allocations: 0 / 0.734 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.1896, allocations: 15.94 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1899, allocations: 13.3 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1919, allocations: 1.63 MB / 0.7356 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.1919, allocations: 75.19 kB / 0.7357 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.192, allocations: 8.062 kB / 0.7357 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.192, allocations: 15.42 kB / 0.7357 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.192, allocations: 0 / 0.7357 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.2248, allocations: 3.02 MB / 0.7387 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.58, allocations: 5.266 kB / 0.7387 GB, free: 5.926 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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_Reals_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.500966500956565] Failed to read output from testmodel.py, exit status != 0: 11.685454118996859 11.701660151 11.514731786 Calling exit ...