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.001289/0.001289, allocations: 97.17 kB / 19.73 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.001395/0.001395, allocations: 209.6 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.9568/0.9568, allocations: 150 MB / 463.2 MB, free: 10.21 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.002078/0.002078, allocations: 65.14 kB / 0.6413 GB, free: 9.812 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1846, allocations: 89.18 MB / 0.7284 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002222/0.1869, allocations: 0.9039 MB / 0.7293 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1888, allocations: 1.455 MB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.1889, allocations: 4 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.1889, allocations: 15.8 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.1891, allocations: 59.56 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1902, allocations: 449 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.1907, allocations: 491.1 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1908, allocations: 25.89 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.191, allocations: 191.6 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1913, allocations: 143.5 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/0.1914, allocations: 48 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1915, allocations: 63.98 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1915, allocations: 39.8 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1917, allocations: 147.6 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.1923, allocations: 0.5026 MB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1923, allocations: 3.938 kB / 0.7328 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.572e-06/0.1923, allocations: 0 / 0.7328 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1923, allocations: 0 / 0.7328 GB, free: 12.2 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.000836/0.1931, allocations: 0.5624 MB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1931, allocations: 12.03 kB / 0.7333 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.1932, allocations: 34.75 kB / 0.7334 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.041e-05/0.1933, allocations: 32.83 kB / 0.7334 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1935, allocations: 169.2 kB / 0.7336 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.1935, allocations: 20.38 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.1936, allocations: 20.38 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1938, allocations: 121.6 kB / 0.7337 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1938, allocations: 3.938 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1938, allocations: 3.984 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1938, allocations: 4 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.194, allocations: 51.92 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009996/0.195, allocations: 0.7578 MB / 0.7345 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1951, allocations: 118.4 kB / 0.7346 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.1952, allocations: 51.42 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1952, allocations: 4 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.1955, allocations: 173.1 kB / 0.7348 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1955, allocations: 4 kB / 0.7348 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004801/0.196, allocations: 226.1 kB / 0.7351 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.1961, allocations: 140.5 kB / 0.7352 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1964, allocations: 236.8 kB / 0.7354 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.1964, allocations: 41.7 kB / 0.7355 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1966, allocations: 140.4 kB / 0.7356 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1966, allocations: 27.75 kB / 0.7356 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1968, allocations: 93.66 kB / 0.7357 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.197, allocations: 330.8 kB / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.1974, allocations: 279 kB / 0.7363 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.1978, allocations: 353.4 kB / 0.7366 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.1983, allocations: 368.9 kB / 0.737 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1983, allocations: 0 / 0.737 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00111/0.1995, allocations: 0.6982 MB / 0.7377 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1996, allocations: 134.8 kB / 0.7378 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1996, allocations: 8.25 kB / 0.7378 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1996, allocations: 4 kB / 0.7378 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.1997, allocations: 11.94 kB / 0.7378 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1997, allocations: 4 kB / 0.7378 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.2004, allocations: 119.7 kB / 0.7379 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.2004, allocations: 31.97 kB / 0.738 GB, free: 6.344 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.0001697/0.2006, allocations: 142.4 kB / 0.7381 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2006, allocations: 23.8 kB / 0.7381 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.2007, allocations: 25.33 kB / 0.7381 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.2007, allocations: 4 kB / 0.7381 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2007, allocations: 0 / 0.7381 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2007, allocations: 3.938 kB / 0.7382 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2009, allocations: 216.6 kB / 0.7384 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2009, allocations: 4 kB / 0.7384 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.201, allocations: 11.94 kB / 0.7384 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.201, allocations: 4 kB / 0.7384 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.201, allocations: 3.984 kB / 0.7384 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.201, allocations: 4 kB / 0.7384 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.201, allocations: 0 / 0.7384 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.2013, allocations: 219.5 kB / 0.7386 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2014, allocations: 23.78 kB / 0.7386 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.2014, allocations: 8 kB / 0.7386 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.2015, allocations: 0 / 0.7386 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.2015, allocations: 31.84 kB / 0.7387 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.2015, allocations: 4 kB / 0.7387 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001681/0.2017, allocations: 172.5 kB / 0.7388 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2017, allocations: 0 / 0.7388 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003276/0.202, allocations: 64 kB / 0.7389 GB, free: 5.312 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.0006953/0.2027, allocations: 0.767 MB / 0.7396 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.2035, allocations: 0.6021 MB / 0.7402 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2035, allocations: 0 / 0.7402 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2036, allocations: 51.92 kB / 0.7403 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.2041, allocations: 81.05 kB / 0.7403 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.2087, allocations: 3.541 MB / 0.7438 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2088, allocations: 124.9 kB / 0.7439 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.832e-05/0.2089, allocations: 17.64 kB / 0.7439 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.209, allocations: 55.42 kB / 0.744 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of SimCode: time 8.41e-07/0.209, allocations: 0 / 0.744 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04599/0.255, allocations: 7.545 MB / 0.7514 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 2.812 kB / 0.7514 GB, free: 8.363 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.429842469049618] Failed to read output from testmodel.py, exit status != 0: 11.584664970170707 11.886614034 11.691649027 Calling exit ...