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.001306/0.001306, allocations: 84.64 kB / 19.94 MB, free: 1.777 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.00136/0.00136, allocations: 163.1 kB / 23.21 MB, free: 4.902 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8902/0.8902, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.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: translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.33e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001933/0.001956, allocations: 0.913 MB / 0.5556 GB, free: 1.727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.003893, allocations: 1.454 MB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.003983, allocations: 8 kB / 0.557 GB, free: 256 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.004029, allocations: 11.81 kB / 0.557 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.004192, allocations: 67.5 kB / 0.5571 GB, free: 176 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.005267, allocations: 446.1 kB / 0.5575 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.005874, allocations: 0.4912 MB / 0.558 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.006001, allocations: 37.78 kB / 0.558 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.006383, allocations: 259.6 kB / 0.5583 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.006667, allocations: 139.6 kB / 0.5584 GB, free: 14.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.006762, allocations: 48 kB / 0.5584 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.006906, allocations: 63.92 kB / 0.5585 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.006953, allocations: 39.84 kB / 0.5585 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.007135, allocations: 135.7 kB / 0.5587 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006553/0.007791, allocations: 0.5611 MB / 0.5592 GB, free: 13.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007794, allocations: 0 / 0.5592 GB, free: 13.98 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007795, allocations: 0 / 0.5592 GB, free: 13.98 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.007802, allocations: 4 kB / 0.5592 GB, free: 13.98 MB / 478.1 MB 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.000857/0.008659, allocations: 0.5586 MB / 0.5598 GB, free: 13.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.008694, allocations: 8.625 kB / 0.5598 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.008801, allocations: 32.8 kB / 0.5598 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.008992, allocations: 161 kB / 0.56 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.009024, allocations: 16.38 kB / 0.56 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.009083, allocations: 20.38 kB / 0.56 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.009297, allocations: 125.6 kB / 0.5601 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.009306, allocations: 192 / 0.5601 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.009321, allocations: 4.375 kB / 0.5601 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.009328, allocations: 8.312 kB / 0.5601 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.009442, allocations: 59.8 kB / 0.5602 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008898/0.01033, allocations: 0.7233 MB / 0.5609 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01051, allocations: 118.4 kB / 0.561 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.01059, allocations: 55.42 kB / 0.5611 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.0106, allocations: 0 / 0.5611 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.0109, allocations: 178.6 kB / 0.5612 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.0109, allocations: 4 kB / 0.5612 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004689/0.01137, allocations: 222.1 kB / 0.5614 GB, free: 11.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.01146, allocations: 144.4 kB / 0.5616 GB, free: 11.31 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.01171, allocations: 241.7 kB / 0.5618 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.01177, allocations: 37.7 kB / 0.5619 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.01189, allocations: 124.6 kB / 0.562 GB, free: 10.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.01193, allocations: 39.83 kB / 0.562 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.0121, allocations: 85.66 kB / 0.5621 GB, free: 10.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.01225, allocations: 334.8 kB / 0.5624 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.01264, allocations: 271 kB / 0.5627 GB, free: 10.15 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.01307, allocations: 353.5 kB / 0.563 GB, free: 9.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.01354, allocations: 372.8 kB / 0.5634 GB, free: 9.316 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.01355, allocations: 4 kB / 0.5634 GB, free: 9.312 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001055/0.0146, allocations: 0.6863 MB / 0.564 GB, free: 8.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.0147, allocations: 134.8 kB / 0.5642 GB, free: 8.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.01471, allocations: 4 kB / 0.5642 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01472, allocations: 4 kB / 0.5642 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.01481, allocations: 19.86 kB / 0.5642 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01482, allocations: 4 kB / 0.5642 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.01547, allocations: 116.2 kB / 0.5643 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.01553, allocations: 27.97 kB / 0.5643 GB, free: 8.242 MB / 478.1 MB 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.0001775/0.01571, allocations: 163.3 kB / 0.5645 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.01575, allocations: 19.91 kB / 0.5645 GB, free: 8.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.01579, allocations: 25.33 kB / 0.5645 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.01579, allocations: 8 kB / 0.5645 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.0158, allocations: 0 / 0.5645 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.0158, allocations: 4 kB / 0.5645 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.016, allocations: 185.1 kB / 0.5647 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.01601, allocations: 4 kB / 0.5647 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.01605, allocations: 11.94 kB / 0.5647 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01605, allocations: 0 / 0.5647 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.01607, allocations: 7.984 kB / 0.5647 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01607, allocations: 0 / 0.5647 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01607, allocations: 0 / 0.5647 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.01638, allocations: 234.4 kB / 0.565 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.01642, allocations: 23.84 kB / 0.565 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.01644, allocations: 0 / 0.565 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.0165, allocations: 11.98 kB / 0.565 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.01654, allocations: 11.92 kB / 0.565 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.01655, allocations: 12 kB / 0.565 GB, free: 7.473 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.01671, allocations: 165.2 kB / 0.5652 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01671, allocations: 0 / 0.5652 GB, free: 7.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.01705, allocations: 71.95 kB / 0.5652 GB, free: 7.238 MB / 478.1 MB 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.0001508/0.0172, allocations: 111.2 kB / 0.5654 GB, free: 7.121 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007673/0.01797, allocations: 0.6017 MB / 0.5659 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.01797, allocations: 0 / 0.5659 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01808, allocations: 67.89 kB / 0.566 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.01853, allocations: 68.27 kB / 0.5661 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.01912, allocations: 338.1 kB / 0.5664 GB, free: 5.945 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01923, allocations: 128.9 kB / 0.5665 GB, free: 5.801 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.982e-05/0.01929, allocations: 25.56 kB / 0.5665 GB, free: 5.777 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01933, allocations: 16.5 kB / 0.5666 GB, free: 5.762 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.01933, allocations: 0 / 0.5666 GB, free: 5.762 MB / 478.1 MB Notification: Performance of Templates: time 0.00909/0.02842, allocations: 5.036 MB / 0.5715 GB, free: 0.8516 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.120915409177542] Failed to read output from testmodel.py, exit status != 0: 0.03629448264837265 0.050008758 0.039365656000000006 Calling exit ...