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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 100.2 kB / 16.36 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 68.47 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2495, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00239/0.252, allocations: 0.97 MB / 0.7858 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.2539, allocations: 1.437 MB / 0.7872 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.2541, allocations: 4 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.2541, allocations: 11.81 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.2543, allocations: 47.52 kB / 0.7872 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2555, allocations: 446.8 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4105/0.666, allocations: 0.5114 MB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.6662, allocations: 46.58 kB / 0.7882 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.6665, allocations: 186.2 kB / 0.7884 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.6667, allocations: 154.3 kB / 0.7885 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.311e-05/0.6668, allocations: 51.28 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.6669, allocations: 73.12 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.667, allocations: 32.7 kB / 0.7887 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.6671, allocations: 166.2 kB / 0.7888 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.6676, allocations: 0.49 MB / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6676, allocations: 0 / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6676, allocations: 0 / 0.7893 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6676, allocations: 0 / 0.7893 GB, free: 46.57 MB / 0.6544 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.00065/0.6682, allocations: 0.6369 MB / 0.7899 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6683, allocations: 10.97 kB / 0.7899 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.6684, allocations: 31.34 kB / 0.79 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.6685, allocations: 228.5 kB / 0.7902 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.6686, allocations: 14.81 kB / 0.7902 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.6686, allocations: 22.69 kB / 0.7902 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.6688, allocations: 119.6 kB / 0.7903 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6688, allocations: 4.938 kB / 0.7903 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6688, allocations: 6.984 kB / 0.7903 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.6688, allocations: 4.594 kB / 0.7903 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.6689, allocations: 54.88 kB / 0.7904 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.6697, allocations: 0.8708 MB / 0.7912 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6698, allocations: 119.8 kB / 0.7914 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.6699, allocations: 52.8 kB / 0.7914 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6699, allocations: 0.8438 kB / 0.7914 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.6702, allocations: 179.1 kB / 0.7916 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.6702, allocations: 0 / 0.7916 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.000397/0.6706, allocations: 232.9 kB / 0.7918 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6706, allocations: 138.8 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.6708, allocations: 238.6 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.6709, allocations: 37.77 kB / 0.7922 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.671, allocations: 131.7 kB / 0.7923 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.671, allocations: 32.36 kB / 0.7924 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.6711, allocations: 93.05 kB / 0.7924 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.6712, allocations: 336.2 kB / 0.7928 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.6715, allocations: 147.5 kB / 0.7929 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.6717, allocations: 231.6 kB / 0.7931 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.6721, allocations: 368.6 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6721, allocations: 3.219 kB / 0.7935 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007385/0.6728, allocations: 0.5449 MB / 0.794 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.697e-05/0.6729, allocations: 139.3 kB / 0.7942 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6729, allocations: 3.375 kB / 0.7942 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.6729, allocations: 3.438 kB / 0.7942 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.673, allocations: 12.27 kB / 0.7942 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6731, allocations: 9.094 kB / 0.7942 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.6736, allocations: 113.7 kB / 0.7943 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.6737, allocations: 28.7 kB / 0.7943 GB, free: 43.61 MB / 0.6544 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.000125/0.6738, allocations: 146.6 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.6739, allocations: 26.16 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.6739, allocations: 23.56 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.6739, allocations: 0 / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6739, allocations: 3.406 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6739, allocations: 7.766 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.6741, allocations: 260.2 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6741, allocations: 3.469 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.6742, allocations: 12.84 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6742, allocations: 0 / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6742, allocations: 8.844 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6742, allocations: 4.125 kB / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6742, allocations: 0 / 0.7948 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.6744, allocations: 223.8 kB / 0.795 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.6745, allocations: 94.66 kB / 0.7951 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.6745, allocations: 5.922 kB / 0.7951 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.824e-05/0.6746, allocations: 4.891 kB / 0.7951 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.6746, allocations: 19.09 kB / 0.7951 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6747, allocations: 17.14 kB / 0.7951 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001069/0.6748, allocations: 164 kB / 0.7953 GB, free: 43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6748, allocations: 0 / 0.7953 GB, free: 43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003094/0.6751, allocations: 74.58 kB / 0.7954 GB, free: 42.99 MB / 0.6544 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.0001316/0.6752, allocations: 117.7 kB / 0.7955 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.6758, allocations: 0.5351 MB / 0.796 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6758, allocations: 0 / 0.796 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.6759, allocations: 67.44 kB / 0.7961 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.6763, allocations: 58.83 kB / 0.7961 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.6768, allocations: 341.5 kB / 0.7964 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.6769, allocations: 0.7319 MB / 0.7972 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.485e-05/0.677, allocations: 18.19 kB / 0.7972 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.677, allocations: 19.25 kB / 0.7972 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.677, allocations: 0 / 0.7972 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.009002/0.686, allocations: 4.566 MB / 0.8017 GB, free: 41.5 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)