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.001454/0.001454, allocations: 81.86 kB / 21.44 MB, free: 3.062 MB / 18.57 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.001599/0.001599, allocations: 173.1 kB / 24.84 MB, free: 9.297 MB / 18.57 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.6191/0.6191, allocations: 115 MB / 376.8 MB, free: 7.508 MB / 346.7 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 482.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.386e-05, allocations: 3.281 kB / 482.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001109/0.001123, allocations: 0.7079 MB / 483.5 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.002099, allocations: 1.183 MB / 484.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.002141, allocations: 0 / 484.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.002165, allocations: 5 kB / 484.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.002246, allocations: 14.44 kB / 484.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.00259, allocations: 134.7 kB / 484.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.00273, allocations: 120.5 kB / 485 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.079e-05/0.002801, allocations: 7.375 kB / 485 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.002886, allocations: 74.31 kB / 485 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.002968, allocations: 34.25 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.002991, allocations: 11.84 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.003049, allocations: 22.05 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.003067, allocations: 6.75 kB / 485.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.003105, allocations: 42.56 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.003232, allocations: 89.62 kB / 485.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003235, allocations: 1.25 kB / 485.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003235, allocations: 0.5625 kB / 485.2 MB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.003239, allocations: 1.219 kB / 485.2 MB, free: 10.15 MB / 410.7 MB 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.0003073/0.003546, allocations: 423.9 kB / 485.7 MB, free: 9.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003581, allocations: 9.688 kB / 485.7 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.003618, allocations: 10.83 kB / 485.7 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.361e-05/0.003682, allocations: 125.3 kB / 485.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.0037, allocations: 3.375 kB / 485.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.00372, allocations: 6.938 kB / 485.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.558e-05/0.003785, allocations: 52.06 kB / 485.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.003793, allocations: 192 / 485.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.0038, allocations: 5.844 kB / 485.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.003805, allocations: 384 / 485.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.003823, allocations: 12.39 kB / 485.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.004165, allocations: 286.5 kB / 486.2 MB, free: 25.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.948e-05/0.004204, allocations: 27.91 kB / 486.2 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.004217, allocations: 17.75 kB / 486.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.004222, allocations: 0.6875 kB / 486.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/0.004287, allocations: 63.78 kB / 486.3 MB, free: 25.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004288, allocations: 1.031 kB / 486.3 MB, free: 25.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001266/0.004415, allocations: 71.67 kB / 486.3 MB, free: 25.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.004436, allocations: 54.41 kB / 486.4 MB, free: 25.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.004507, allocations: 177.1 kB / 486.6 MB, free: 24.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.00452, allocations: 28.83 kB / 486.6 MB, free: 24.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.004566, allocations: 150.4 kB / 486.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.004577, allocations: 6.078 kB / 486.7 MB, free: 24.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.004621, allocations: 38.84 kB / 486.8 MB, free: 24.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.004725, allocations: 0.4907 MB / 487.3 MB, free: 24.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.004773, allocations: 54.12 kB / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.00482, allocations: 81.47 kB / 487.4 MB, free: 24.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.004878, allocations: 88.72 kB / 487.5 MB, free: 23.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00488, allocations: 0 / 487.5 MB, free: 23.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.005036, allocations: 172.8 kB / 487.7 MB, free: 23.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.00507, allocations: 40.14 kB / 487.7 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.005076, allocations: 5.281 kB / 487.7 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.005084, allocations: 1.375 kB / 487.7 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.005119, allocations: 2.531 kB / 487.7 MB, free: 23.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005122, allocations: 5 kB / 487.7 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.252e-05/0.005214, allocations: 21.25 kB / 487.7 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.005227, allocations: 8.75 kB / 487.7 MB, free: 23.82 MB / 426.7 MB 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 6.584e-05/0.005293, allocations: 167.1 kB / 487.9 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.005302, allocations: 7.203 kB / 487.9 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.00532, allocations: 14.09 kB / 487.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005322, allocations: 1.469 kB / 487.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005324, allocations: 0 / 487.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005326, allocations: 1.219 kB / 487.9 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.524e-05/0.005381, allocations: 104.4 kB / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005382, allocations: 0 / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-06/0.00539, allocations: 4.062 kB / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005391, allocations: 0 / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.005395, allocations: 1.562 kB / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005396, allocations: 80 / 488 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.005398, allocations: 9.078 kB / 488 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.318e-05/0.005461, allocations: 96.38 kB / 488.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.00547, allocations: 6.391 kB / 488.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.005479, allocations: 5.734 kB / 488.2 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.00549, allocations: 8 kB / 488.2 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.005507, allocations: 6.344 kB / 488.2 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005509, allocations: 2.812 kB / 488.2 MB, free: 23.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.308e-05/0.005552, allocations: 138.5 kB / 488.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005553, allocations: 0 / 488.3 MB, free: 23.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001421/0.005695, allocations: 16.94 kB / 488.3 MB, free: 23.29 MB / 426.7 MB 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 8.57e-05/0.00578, allocations: 100.6 kB / 488.4 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.005906, allocations: 146 kB / 488.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005907, allocations: 1 kB / 488.6 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.005925, allocations: 23.84 kB / 488.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.006074, allocations: 14.55 kB / 488.6 MB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.006257, allocations: 148.2 kB / 488.7 MB, free: 22.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.486e-05/0.006282, allocations: 58.58 kB / 488.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.788e-05/0.0063, allocations: 7.391 kB / 488.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.006374, allocations: 91.67 kB / 488.9 MB, free: 22.78 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.006374, allocations: 3.938 kB / 488.9 MB, free: 22.77 MB / 426.7 MB Notification: Performance of Templates: time 0.002954/0.009328, allocations: 1.64 MB / 490.5 MB, free: 22.63 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5348831079900265]