Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.623/1.623, allocations: 287.5 MB / 302.6 MB, free: 8.156 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.001161/0.001161, allocations: 179.3 kB / 371.2 MB, free: 10.75 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.827/1.827, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000991/0.0009908, allocations: 84.88 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008464/0.0008465, allocations: 11.69 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3394, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001247/0.3407, allocations: 0.661 MB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3429, allocations: 1.395 MB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.3431, allocations: 0 / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.3432, allocations: 11.88 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3434, allocations: 47.62 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3447, allocations: 366.7 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.3453, allocations: 391.1 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3455, allocations: 45.66 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.3458, allocations: 143.6 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.3461, allocations: 115.5 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.109e-05/0.3462, allocations: 20 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3463, allocations: 35.98 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.3464, allocations: 23.86 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.3465, allocations: 73.58 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.3468, allocations: 371.2 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3469, allocations: 4 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3469, allocations: 0 / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.3469, allocations: 0 / 0.9823 GB, free: 24.49 MB / 0.6198 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.0007977/0.3477, allocations: 0.5678 MB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3477, allocations: 8.031 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3479, allocations: 36.66 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3481, allocations: 227 kB / 0.9831 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3482, allocations: 16.31 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.3482, allocations: 20.38 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3485, allocations: 117.6 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3485, allocations: 192 / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.3485, allocations: 11.92 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3485, allocations: 0 / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3487, allocations: 59.92 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3497, allocations: 0.8756 MB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.3499, allocations: 118.4 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.3499, allocations: 59.42 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.35, allocations: 0 / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.3502, allocations: 174.7 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.3502, allocations: 0 / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004827/0.3507, allocations: 225.2 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3508, allocations: 136.5 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.351, allocations: 240.9 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.3511, allocations: 37.7 kB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.3512, allocations: 140.3 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3512, allocations: 31.61 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3513, allocations: 12 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3514, allocations: 338.8 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3517, allocations: 144.2 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.352, allocations: 222.6 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.3524, allocations: 361 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3524, allocations: 0 / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000827/0.3532, allocations: 0.5545 MB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/0.3533, allocations: 137.1 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.3533, allocations: 4 kB / 0.987 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.3534, allocations: 9.188 kB / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3535, allocations: 15.92 kB / 0.987 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3535, allocations: 4 kB / 0.987 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.3542, allocations: 163.6 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.3543, allocations: 27.98 kB / 0.9872 GB, free: 18.96 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.3545, allocations: 157.6 kB / 0.9873 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3545, allocations: 15.81 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.3546, allocations: 21.25 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3546, allocations: 3.984 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.3546, allocations: 8 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3546, allocations: 7.922 kB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3549, allocations: 261.4 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3549, allocations: 0 / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.355, allocations: 11.94 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.355, allocations: 3.984 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.355, allocations: 4 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.355, allocations: 4 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.355, allocations: 3.984 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.3553, allocations: 225 kB / 0.9879 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.3554, allocations: 100.8 kB / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3554, allocations: 0 / 0.988 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.301e-05/0.3555, allocations: 11.98 kB / 0.988 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3555, allocations: 15.92 kB / 0.988 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3555, allocations: 12 kB / 0.988 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001457/0.3557, allocations: 168.5 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3557, allocations: 0 / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003448/0.356, allocations: 64 kB / 0.9882 GB, free: 17.79 MB / 0.6198 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 (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.0002047/0.3563, allocations: 104.2 kB / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006392/0.3569, allocations: 0.5367 MB / 0.9889 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3569, allocations: 0 / 0.9889 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.357, allocations: 63.91 kB / 0.9889 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.3576, allocations: 68.39 kB / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.3583, allocations: 375.4 kB / 0.9894 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.3585, allocations: 0.7284 MB / 0.9901 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.713e-05/0.3586, allocations: 22.28 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3587, allocations: 19.44 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.3587, allocations: 0 / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.009111/0.3678, allocations: 4.216 MB / 0.9942 GB, free: 11.6 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)