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.001392/0.001392, allocations: 119 kB / 19.69 MB, free: 2.199 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.002026/0.002026, allocations: 225.2 kB / 23.01 MB, free: 5.047 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9858/0.9858, allocations: 150 MB / 463.2 MB, free: 10.47 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.002166/0.002166, allocations: 72.17 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1915, allocations: 89.17 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002111/0.1936, allocations: 0.7101 MB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1953, allocations: 1.167 MB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.1953, allocations: 4 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.1954, allocations: 7.922 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.989e-05/0.1955, allocations: 11.92 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.196, allocations: 149 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.1962, allocations: 119.8 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.1963, allocations: 8 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.1964, allocations: 51.83 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1965, allocations: 35.91 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1965, allocations: 12 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.1966, allocations: 27.98 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1966, allocations: 11.92 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.1967, allocations: 43.84 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1969, allocations: 139.8 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1969, allocations: 0 / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1969, allocations: 0 / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1969, allocations: 0 / 0.7308 GB, free: 14.73 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.0005949/0.1975, allocations: 319.8 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1976, allocations: 12.03 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.1976, allocations: 34.73 kB / 0.7312 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.1977, allocations: 8.891 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1978, allocations: 126.4 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1979, allocations: 4.375 kB / 0.7313 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.1979, allocations: 8.375 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.198, allocations: 38.25 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.198, allocations: 7.938 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.198, allocations: 4 kB / 0.7313 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.198, allocations: 3.984 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.1981, allocations: 19.92 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.1986, allocations: 299.8 kB / 0.7317 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.1987, allocations: 30.58 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.1987, allocations: 8.922 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1987, allocations: 0 / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.1989, allocations: 67.33 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1989, allocations: 0 / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002256/0.1991, allocations: 77.62 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1992, allocations: 55.41 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1994, allocations: 125.8 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.1994, allocations: 29.69 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.1995, allocations: 92.09 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.1995, allocations: 11.94 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.1996, allocations: 33.7 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1997, allocations: 322.7 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.85e-05/0.1998, allocations: 39.98 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1999, allocations: 58.5 kB / 0.7326 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.2001, allocations: 88.27 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2001, allocations: 0 / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003107/0.2004, allocations: 167.2 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.2004, allocations: 37.69 kB / 0.7328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2004, allocations: 8 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2004, allocations: 8.062 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.2005, allocations: 7.938 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2005, allocations: 0 / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.2007, allocations: 23.97 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2007, allocations: 7.984 kB / 0.7329 GB, free: 12.35 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.0001198/0.2008, allocations: 121.8 kB / 0.733 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2009, allocations: 3.953 kB / 0.733 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2009, allocations: 16 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2009, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2009, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2009, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2011, allocations: 148.7 kB / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2011, allocations: 0 / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.2011, allocations: 0 / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2011, allocations: 0 / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2011, allocations: 4 kB / 0.7332 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2011, allocations: 0 / 0.7332 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2011, allocations: 3.938 kB / 0.7332 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.2012, allocations: 93.05 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.2013, allocations: 7.953 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2013, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.2013, allocations: 0 / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.2013, allocations: 11.98 kB / 0.7333 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2013, allocations: 288 / 0.7333 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.354e-05/0.2014, allocations: 95.27 kB / 0.7334 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2014, allocations: 4 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000232/0.2016, allocations: 23.94 kB / 0.7334 GB, free: 11.75 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.0005045/0.2021, allocations: 0.6357 MB / 0.734 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.2024, allocations: 119.4 kB / 0.7341 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2024, allocations: 4.125 kB / 0.7341 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.2024, allocations: 19.88 kB / 0.7342 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.2027, allocations: 13.41 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2045, allocations: 1.509 MB / 0.7357 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2049, allocations: 0.6885 MB / 0.7363 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.2049, allocations: 4 kB / 0.7363 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.205, allocations: 23.42 kB / 0.7364 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.205, allocations: 0 / 0.7364 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.2353, allocations: 2.459 MB / 0.7388 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.25, allocations: 11.59 kB / 0.7388 GB, free: 6.262 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 sys.exit(0), Time elapsed: 15.02916555502452] Failed to read output from testmodel.py, exit status != 0: 11.356859826017171 11.37327381 11.173013874 Calling exit ...