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.001336/0.001336, allocations: 109.2 kB / 20.48 MB, free: 1.473 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.001446/0.001446, allocations: 213.7 kB / 23.79 MB, free: 4.68 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.482/1.482, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9909/0.9909, allocations: 150 MB / 464 MB, free: 10.5 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="cs",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="cs",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.002009/0.002009, allocations: 74.69 kB / 0.6421 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1941, allocations: 89.17 MB / 0.7291 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001918/0.196, allocations: 0.7127 MB / 0.7298 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1979, allocations: 1.17 MB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.1979, allocations: 0 / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.198, allocations: 3.938 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.662e-05/0.1981, allocations: 15.88 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005632/0.1986, allocations: 131.1 kB / 0.7311 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1988, allocations: 127.8 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.199, allocations: 8 kB / 0.7313 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.199, allocations: 51.84 kB / 0.7313 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1992, allocations: 39.88 kB / 0.7313 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1992, allocations: 12 kB / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.1993, allocations: 31.92 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.1993, allocations: 4 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.1994, allocations: 39.86 kB / 0.7314 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1996, allocations: 135.8 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1996, allocations: 0 / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1996, allocations: 0 / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.1996, allocations: 4 kB / 0.7316 GB, free: 14.76 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.0006116/0.2002, allocations: 323.8 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2003, allocations: 8.031 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.584e-05/0.2003, allocations: 4.172 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.2003, allocations: 34.69 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2004, allocations: 12.89 kB / 0.7319 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2005, allocations: 122.5 kB / 0.732 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2006, allocations: 4.375 kB / 0.732 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.2006, allocations: 4.375 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.2007, allocations: 50 kB / 0.7321 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2007, allocations: 11.86 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2007, allocations: 4 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2007, allocations: 0 / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.2008, allocations: 12 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.2013, allocations: 303.8 kB / 0.7324 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.2014, allocations: 30.56 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.2014, allocations: 8.922 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2015, allocations: 3.938 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.2017, allocations: 71.38 kB / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.2017, allocations: 0 / 0.7325 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002467/0.2019, allocations: 73.64 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.202, allocations: 51.41 kB / 0.7326 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2021, allocations: 135.6 kB / 0.7328 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.2021, allocations: 29.7 kB / 0.7328 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.369e-05/0.2022, allocations: 92.09 kB / 0.7329 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.2022, allocations: 3.953 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.2023, allocations: 33.7 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2024, allocations: 322.8 kB / 0.7332 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.2025, allocations: 35.98 kB / 0.7333 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.81e-05/0.2026, allocations: 54.56 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.2028, allocations: 92.2 kB / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2028, allocations: 0 / 0.7334 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002942/0.2031, allocations: 167.2 kB / 0.7336 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.2031, allocations: 41.69 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2031, allocations: 4 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2031, allocations: 8 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.2032, allocations: 4.062 kB / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2032, allocations: 0 / 0.7336 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.2034, allocations: 27.97 kB / 0.7336 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2034, allocations: 7.984 kB / 0.7337 GB, free: 12.38 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 9.924e-05/0.2035, allocations: 117.8 kB / 0.7338 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.2035, allocations: 7.953 kB / 0.7338 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.2035, allocations: 8 kB / 0.7338 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2035, allocations: 4 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2035, allocations: 4 kB / 0.7338 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2036, allocations: 3.984 kB / 0.7338 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2037, allocations: 144.7 kB / 0.7339 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2037, allocations: 0 / 0.7339 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.2037, allocations: 7.938 kB / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2037, allocations: 3.938 kB / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2037, allocations: 0 / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2037, allocations: 0 / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2037, allocations: 0 / 0.7339 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.2039, allocations: 97.05 kB / 0.734 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.2039, allocations: 3.953 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2039, allocations: 4 kB / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.2039, allocations: 0 / 0.734 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.2039, allocations: 7.984 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2039, allocations: 4 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.204, allocations: 96.91 kB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002268/0.2042, allocations: 27.94 kB / 0.7342 GB, free: 11.77 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.0005543/0.2048, allocations: 0.6322 MB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.2051, allocations: 123.4 kB / 0.7349 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2051, allocations: 0 / 0.7349 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.2051, allocations: 24.19 kB / 0.7349 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2054, allocations: 18.42 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2072, allocations: 1.505 MB / 0.7364 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.2075, allocations: 0.6846 MB / 0.7371 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.2075, allocations: 4 kB / 0.7371 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.97e-05/0.2076, allocations: 19.42 kB / 0.7371 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2076, allocations: 0 / 0.7371 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.2307, allocations: 2.499 MB / 0.7396 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.33, allocations: 15.77 kB / 0.7396 GB, free: 6.258 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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 os._exit(0), Time elapsed: 15.283059676992707] Failed to read output from testmodel.py, exit status != 0: 11.501074230007362 11.526812282 11.322388681 Calling exit ...