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.66/1.66, allocations: 289.9 MB / 297.4 MB, free: 6.301 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.0009587/0.0009588, allocations: 172.8 kB / 366.7 MB, free: 1.648 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.389/1.389, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008236/0.0008237, allocations: 88.11 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.435e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7948, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/1.006, allocations: 138.5 MB / 1.109 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/1.006, allocations: 71.95 kB / 1.109 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01821/1.025, allocations: 6.145 MB / 1.115 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.025, allocations: 4 kB / 1.115 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.025, allocations: 0 / 1.115 GB, free: 5.559 MB / 0.7136 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.0007566/1.025, allocations: 0.5371 MB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.025, allocations: 8.031 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/1.026, allocations: 27.81 kB / 1.115 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/1.026, allocations: 217.7 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/1.026, allocations: 8 kB / 1.115 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.693e-05/1.026, allocations: 26.81 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/1.026, allocations: 40 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/1.026, allocations: 113 kB / 1.116 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.026, allocations: 0 / 1.116 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.026, allocations: 3.984 kB / 1.116 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.026, allocations: 4 kB / 1.116 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.027, allocations: 0.848 MB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.028, allocations: 106.4 kB / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/1.028, allocations: 47.5 kB / 1.117 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/1.028, allocations: 8 kB / 1.117 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/1.028, allocations: 163.5 kB / 1.117 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/1.028, allocations: 0 / 1.117 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.000518/1.029, allocations: 169.5 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.029, allocations: 140.5 kB / 1.117 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/1.029, allocations: 199.9 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/1.029, allocations: 33.7 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/1.029, allocations: 132.4 kB / 1.117 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/1.029, allocations: 35.62 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/1.029, allocations: 8 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002096/1.03, allocations: 330.8 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.03, allocations: 132.2 kB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/1.03, allocations: 200.4 kB / 1.118 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007171/1.031, allocations: 168.4 kB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.031, allocations: 0 / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001205/1.032, allocations: 440.5 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/1.032, allocations: 134.8 kB / 1.119 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.032, allocations: 7.922 kB / 1.119 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/1.032, allocations: 11.98 kB / 1.119 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.033, allocations: 11.94 kB / 1.119 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.033, allocations: 7.953 kB / 1.119 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/1.033, allocations: 154.9 kB / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/1.033, allocations: 27.97 kB / 1.119 GB, free: 0.75 MB / 0.7136 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 0.0001528/1.034, allocations: 128.7 kB / 1.119 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/1.034, allocations: 23.72 kB / 1.119 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/1.034, allocations: 21.55 kB / 1.119 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.034, allocations: 4 kB / 1.119 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.034, allocations: 0 / 1.119 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.034, allocations: 3.953 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/1.034, allocations: 230.1 kB / 1.119 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.034, allocations: 0 / 1.119 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/1.034, allocations: 12 kB / 1.119 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.034, allocations: 4 kB / 1.119 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.034, allocations: 3.984 kB / 1.119 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.034, allocations: 5.719 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.034, allocations: 3.938 kB / 1.119 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/1.035, allocations: 232.6 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/1.035, allocations: 104.8 kB / 1.12 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/1.035, allocations: 7.891 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/1.035, allocations: 0 / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/1.035, allocations: 19.91 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/1.035, allocations: 12 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001739/1.035, allocations: 156.5 kB / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/1.035, allocations: 0 / 1.12 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00043/1.036, allocations: 68 kB / 1.12 GB, free: 15.62 MB / 0.7292 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.0002846/1.036, allocations: 119.1 kB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007471/1.037, allocations: 0.499 MB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.037, allocations: 0.5 kB / 1.121 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/1.037, allocations: 63.92 kB / 1.121 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/1.037, allocations: 51.33 kB / 1.121 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005327/1.038, allocations: 232.8 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.038, allocations: 0.736 MB / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.616e-05/1.038, allocations: 22.61 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/1.038, allocations: 23.44 kB / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.038, allocations: 0 / 1.122 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.008036/1.046, allocations: 3.804 MB / 1.125 GB, free: 10.1 MB / 0.7292 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)