Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 181.1 kB / 371.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008888/0.0008889, allocations: 87.64 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.297e-05/5.319e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 116.3 MB / 0.9798 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.851/1.18, allocations: 139.1 MB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/1.18, allocations: 76.19 kB / 1.116 GB, free: 44.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01562/1.196, allocations: 6.16 MB / 1.122 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.196, allocations: 4 kB / 1.122 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.196, allocations: 4 kB / 1.122 GB, free: 41.13 MB / 0.7448 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.0004585/1.196, allocations: 0.5381 MB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.196, allocations: 8.031 kB / 1.122 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.451e-05/1.196, allocations: 29.53 kB / 1.122 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/1.197, allocations: 217.8 kB / 1.123 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/1.197, allocations: 14.64 kB / 1.123 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/1.197, allocations: 23.5 kB / 1.123 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/1.197, allocations: 120.2 kB / 1.123 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.197, allocations: 3.938 kB / 1.123 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/1.197, allocations: 9.891 kB / 1.123 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.197, allocations: 0.9375 kB / 1.123 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/1.197, allocations: 48.05 kB / 1.123 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/1.198, allocations: 0.8761 MB / 1.124 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/1.198, allocations: 117.1 kB / 1.124 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/1.198, allocations: 53.06 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/1.198, allocations: 4 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/1.198, allocations: 176.2 kB / 1.124 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/1.198, allocations: 0 / 1.124 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003276/1.199, allocations: 182.9 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/1.199, allocations: 135.5 kB / 1.124 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/1.199, allocations: 215 kB / 1.124 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/1.199, allocations: 36.64 kB / 1.125 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/1.199, allocations: 139.9 kB / 1.125 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.199, allocations: 23.58 kB / 1.125 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/1.199, allocations: 11.81 kB / 1.125 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/1.199, allocations: 337.1 kB / 1.125 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.199, allocations: 139.8 kB / 1.125 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/1.2, allocations: 215.9 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/1.2, allocations: 257.8 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.2, allocations: 4 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007534/1.201, allocations: 0.5386 MB / 1.126 GB, free: 37.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/1.201, allocations: 135.6 kB / 1.126 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.201, allocations: 11.95 kB / 1.126 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/1.201, allocations: 7.938 kB / 1.126 GB, free: 37.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/1.201, allocations: 20.48 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.201, allocations: 4 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/1.202, allocations: 153.3 kB / 1.126 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/1.202, allocations: 26.81 kB / 1.126 GB, free: 37.03 MB / 0.7448 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.86e-05/1.202, allocations: 131 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/1.202, allocations: 19.81 kB / 1.127 GB, free: 36.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/1.202, allocations: 24.05 kB / 1.127 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.202, allocations: 9.453 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.202, allocations: 0 / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.202, allocations: 4 kB / 1.127 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/1.202, allocations: 259.4 kB / 1.127 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.202, allocations: 0.5 kB / 1.127 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/1.202, allocations: 11.94 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.202, allocations: 7.375 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/1.202, allocations: 8 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.202, allocations: 0 / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.202, allocations: 4.969 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/1.202, allocations: 246.2 kB / 1.127 GB, free: 36.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/1.202, allocations: 102.7 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/1.202, allocations: 4 kB / 1.127 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/1.202, allocations: 14.52 kB / 1.127 GB, free: 36.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/1.203, allocations: 14.44 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.203, allocations: 14.53 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001132/1.203, allocations: 162.4 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.203, allocations: 0.75 kB / 1.127 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002954/1.203, allocations: 70.56 kB / 1.128 GB, free: 36.04 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/1.203, allocations: 129 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005243/1.204, allocations: 0.5181 MB / 1.128 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.204, allocations: 0 / 1.128 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/1.204, allocations: 70.17 kB / 1.128 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/1.204, allocations: 64.12 kB / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/1.205, allocations: 230.9 kB / 1.128 GB, free: 35.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/1.205, allocations: 0.7394 MB / 1.129 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.957e-05/1.205, allocations: 20.88 kB / 1.129 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/1.205, allocations: 22.69 kB / 1.129 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.205, allocations: 4 kB / 1.129 GB, free: 34.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.006721/1.212, allocations: 4.163 MB / 1.133 GB, free: 32.11 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)