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.001337/0.001337, allocations: 115.1 kB / 19.7 MB, free: 2.203 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.001515/0.001515, allocations: 219.2 kB / 23 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.9247/0.9247, allocations: 150 MB / 463.2 MB, free: 10.57 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.00212/0.00212, allocations: 69.64 kB / 0.6413 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.185, allocations: 89.16 MB / 0.7284 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002731/0.1877, allocations: 0.9564 MB / 0.7293 GB, free: 456 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1901, allocations: 1.475 MB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1903, allocations: 4 kB / 0.7307 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.953e-05/0.1903, allocations: 19.8 kB / 0.7308 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1906, allocations: 59.56 kB / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.192, allocations: 438.9 kB / 0.7312 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.1928, allocations: 495.1 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.193, allocations: 33.94 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.1933, allocations: 187.6 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.1937, allocations: 167.4 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.1938, allocations: 48 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.194, allocations: 63.98 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1941, allocations: 43.78 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.1943, allocations: 167.5 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.195, allocations: 0.4909 MB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.195, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.195, allocations: 0 / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.195, allocations: 4 kB / 0.7329 GB, free: 12.79 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.001163/0.1962, allocations: 0.5702 MB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1962, allocations: 12.03 kB / 0.7334 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.1963, allocations: 34.75 kB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1964, allocations: 32.83 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.1966, allocations: 165.2 kB / 0.7337 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.1967, allocations: 16.38 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1967, allocations: 24.31 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.197, allocations: 128.2 kB / 0.7338 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.197, allocations: 3.938 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.197, allocations: 7.984 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.197, allocations: 0 / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1971, allocations: 55.92 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.1982, allocations: 0.8474 MB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1984, allocations: 114.4 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.1985, allocations: 55.42 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1985, allocations: 4 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003407/0.1989, allocations: 170.7 kB / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.1989, allocations: 0 / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0005108/0.1994, allocations: 225.4 kB / 0.7352 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1995, allocations: 140.5 kB / 0.7354 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1998, allocations: 236.8 kB / 0.7356 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.1998, allocations: 37.7 kB / 0.7356 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2, allocations: 140.5 kB / 0.7358 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2, allocations: 31.73 kB / 0.7358 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2002, allocations: 93.66 kB / 0.7359 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2004, allocations: 330.8 kB / 0.7362 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.2007, allocations: 144.2 kB / 0.7364 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.201, allocations: 226.7 kB / 0.7366 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.2015, allocations: 372.9 kB / 0.7369 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.2015, allocations: 3.938 kB / 0.7369 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009199/0.2024, allocations: 0.5548 MB / 0.7375 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.2025, allocations: 142.8 kB / 0.7376 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.2025, allocations: 4 kB / 0.7376 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.2025, allocations: 4.938 kB / 0.7376 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.2026, allocations: 19.92 kB / 0.7376 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.2026, allocations: 4 kB / 0.7376 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006139/0.2032, allocations: 115.7 kB / 0.7377 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.2033, allocations: 27.98 kB / 0.7378 GB, free: 7.293 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.000175/0.2035, allocations: 150.4 kB / 0.7379 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.2035, allocations: 23.86 kB / 0.7379 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/0.2036, allocations: 21.33 kB / 0.738 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2036, allocations: 4 kB / 0.738 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2036, allocations: 7.938 kB / 0.738 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2036, allocations: 7.922 kB / 0.738 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.2038, allocations: 232.5 kB / 0.7382 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2038, allocations: 4 kB / 0.7382 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2039, allocations: 11.92 kB / 0.7382 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2039, allocations: 4 kB / 0.7382 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2039, allocations: 4 kB / 0.7382 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2039, allocations: 0 / 0.7382 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2039, allocations: 0 / 0.7382 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.2042, allocations: 219.5 kB / 0.7384 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2042, allocations: 27.8 kB / 0.7385 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2043, allocations: 3.984 kB / 0.7385 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.2043, allocations: 8 kB / 0.7385 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2044, allocations: 19.86 kB / 0.7385 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2044, allocations: 15.98 kB / 0.7385 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001584/0.2045, allocations: 164.5 kB / 0.7387 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2045, allocations: 0 / 0.7387 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003248/0.2049, allocations: 67.98 kB / 0.7387 GB, free: 6.23 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.0006441/0.2055, allocations: 0.7625 MB / 0.7395 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007505/0.2063, allocations: 485.4 kB / 0.7399 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2063, allocations: 3.938 kB / 0.7399 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.2064, allocations: 55.92 kB / 0.74 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.2068, allocations: 72.73 kB / 0.7401 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.2107, allocations: 3.022 MB / 0.743 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2111, allocations: 0.7281 MB / 0.7437 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.652e-05/0.2112, allocations: 25.62 kB / 0.7437 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.2113, allocations: 55.41 kB / 0.7438 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2113, allocations: 0 / 0.7438 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.2463, allocations: 6.583 MB / 0.7502 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.98, allocations: 9.25 kB / 0.7502 GB, free: 10.33 MB / 0.5763 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 & /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: 14.876764348940924] Failed to read output from testmodel.py, exit status != 0: 11.084324584109709 11.394467442 11.196721371 Calling exit ...