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.0008006/0.0008006, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008528/0.0008528, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.8815/0.8815, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.5478/0.5478, allocations: 114 MB / 374.7 MB, free: 8.723 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.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.714e-06/1.714e-06, allocations: 0 / 0.5554 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.045e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001807/0.001827, allocations: 0.9117 MB / 0.5563 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.003668, allocations: 1.462 MB / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.00374, allocations: 4 kB / 0.5578 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.003785, allocations: 11.81 kB / 0.5578 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.003939, allocations: 63.5 kB / 0.5578 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.004854, allocations: 453.8 kB / 0.5583 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.005327, allocations: 495 kB / 0.5587 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.00545, allocations: 29.94 kB / 0.5588 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.005728, allocations: 267.6 kB / 0.559 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.005938, allocations: 127.7 kB / 0.5591 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.006008, allocations: 48 kB / 0.5592 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.006116, allocations: 67.92 kB / 0.5592 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.006161, allocations: 35.84 kB / 0.5593 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.006304, allocations: 143.7 kB / 0.5594 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005245/0.006828, allocations: 0.5572 MB / 0.56 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006831, allocations: 0 / 0.56 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006831, allocations: 0 / 0.56 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.006836, allocations: 0 / 0.56 GB, free: 13.64 MB / 0.5261 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.0007302/0.007566, allocations: 0.5586 MB / 0.5605 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.007606, allocations: 12.62 kB / 0.5605 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.007698, allocations: 28.8 kB / 0.5605 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.007861, allocations: 168.9 kB / 0.5607 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.007892, allocations: 16.38 kB / 0.5607 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.007945, allocations: 24.36 kB / 0.5607 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.008142, allocations: 127.8 kB / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008152, allocations: 192 / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.008165, allocations: 384 / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.00817, allocations: 4.375 kB / 0.5609 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.008288, allocations: 63.84 kB / 0.5609 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000834/0.009122, allocations: 0.7155 MB / 0.5616 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.009274, allocations: 118.4 kB / 0.5617 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.009347, allocations: 59.42 kB / 0.5618 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.009358, allocations: 0 / 0.5618 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.009599, allocations: 178.6 kB / 0.562 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.009601, allocations: 0 / 0.562 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0004535/0.01005, allocations: 230.1 kB / 0.5622 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.01012, allocations: 140.5 kB / 0.5623 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.01036, allocations: 241.7 kB / 0.5626 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.01041, allocations: 37.7 kB / 0.5626 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.01051, allocations: 128.6 kB / 0.5627 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.01054, allocations: 31.8 kB / 0.5627 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.01072, allocations: 93.66 kB / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.01082, allocations: 334.8 kB / 0.5632 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.01124, allocations: 271 kB / 0.5634 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.01163, allocations: 357.4 kB / 0.5637 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.01212, allocations: 376.8 kB / 0.5641 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01213, allocations: 4 kB / 0.5641 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009353/0.01306, allocations: 0.6862 MB / 0.5648 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.01315, allocations: 130.8 kB / 0.5649 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01316, allocations: 4 kB / 0.5649 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01317, allocations: 7.984 kB / 0.5649 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.01324, allocations: 16.19 kB / 0.5649 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.01325, allocations: 8 kB / 0.5649 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.01373, allocations: 103.8 kB / 0.565 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.01379, allocations: 31.97 kB / 0.5651 GB, free: 7.891 MB / 0.5261 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.0001548/0.01394, allocations: 158.2 kB / 0.5652 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.01398, allocations: 23.86 kB / 0.5652 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.01402, allocations: 21.33 kB / 0.5653 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01402, allocations: 4 kB / 0.5653 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01403, allocations: 0 / 0.5653 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01403, allocations: 4 kB / 0.5653 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.01421, allocations: 177.2 kB / 0.5654 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01421, allocations: 4 kB / 0.5654 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.01425, allocations: 15.92 kB / 0.5655 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01426, allocations: 4 kB / 0.5655 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.01427, allocations: 8 kB / 0.5655 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01427, allocations: 0 / 0.5655 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.01427, allocations: 4 kB / 0.5655 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.01467, allocations: 219.4 kB / 0.5657 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.0147, allocations: 15.91 kB / 0.5657 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.01473, allocations: 7.984 kB / 0.5657 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.01479, allocations: 7.938 kB / 0.5657 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.01483, allocations: 15.92 kB / 0.5657 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01484, allocations: 11.98 kB / 0.5657 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001394/0.01498, allocations: 165.2 kB / 0.5659 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.01498, allocations: 4 kB / 0.5659 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003515/0.01533, allocations: 71.94 kB / 0.566 GB, free: 6.895 MB / 0.5261 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.0001308/0.01546, allocations: 107.2 kB / 0.5661 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007045/0.01617, allocations: 0.61 MB / 0.5667 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01617, allocations: 0 / 0.5667 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.0163, allocations: 80.41 kB / 0.5667 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01668, allocations: 72.69 kB / 0.5668 GB, free: 5.953 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.01744, allocations: 374.9 kB / 0.5672 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.01752, allocations: 116.9 kB / 0.5673 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.01756, allocations: 28.44 kB / 0.5673 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.01756, allocations: 0 / 0.5673 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of Templates: time 0.003396/0.02095, allocations: 3.547 MB / 0.5708 GB, free: 1.871 MB / 0.5261 GB " [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: 4.986974038183689] Failed to read output from testmodel.py, exit status != 0: 0.026847627013921738 0.033291638000000005 0.024785205 Calling exit ...