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.001393/0.001393, allocations: 105 kB / 15.99 MB, free: 6.344 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.001403/0.001403, allocations: 195.5 kB / 16.91 MB, free: 6.184 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.515/1.515, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.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.759/1.759, allocations: 292.3 MB / 0.5492 GB, free: 13.58 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.001384/0.001384, allocations: 77.97 kB / 0.6717 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2797, allocations: 114.5 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002494/0.2823, allocations: 1.032 MB / 0.7845 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.284, allocations: 1.421 MB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.2841, allocations: 4 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.2842, allocations: 7.875 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.2843, allocations: 47.62 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.2853, allocations: 416.6 kB / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.2857, allocations: 0.5147 MB / 0.7869 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2859, allocations: 41.67 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2861, allocations: 183.5 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2863, allocations: 147.5 kB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.774e-05/0.2864, allocations: 52 kB / 0.7873 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2865, allocations: 59.98 kB / 0.7874 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.2865, allocations: 39.84 kB / 0.7874 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.2867, allocations: 167.4 kB / 0.7875 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.2871, allocations: 379.4 kB / 0.7879 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2871, allocations: 0 / 0.7879 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.978e-06/0.2871, allocations: 0 / 0.7879 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2871, allocations: 7.922 kB / 0.7879 GB, free: 9.367 MB / 0.6075 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.0009194/0.288, allocations: 0.6339 MB / 0.7885 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.2881, allocations: 8.031 kB / 0.7885 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.2882, allocations: 28.75 kB / 0.7886 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.2884, allocations: 226.9 kB / 0.7888 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.2884, allocations: 16.38 kB / 0.7888 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.2885, allocations: 20.38 kB / 0.7888 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.2887, allocations: 124.1 kB / 0.7889 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2887, allocations: 4.188 kB / 0.7889 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.2888, allocations: 11.92 kB / 0.789 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2888, allocations: 0 / 0.789 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2889, allocations: 63.84 kB / 0.789 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.2899, allocations: 0.8757 MB / 0.7899 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2901, allocations: 114.4 kB / 0.79 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.2901, allocations: 51.48 kB / 0.79 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.2902, allocations: 0 / 0.79 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.2905, allocations: 178.6 kB / 0.7902 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.805e-06/0.2905, allocations: 4 kB / 0.7902 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004329/0.2909, allocations: 217.3 kB / 0.7904 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.291, allocations: 140.5 kB / 0.7905 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.2913, allocations: 244.8 kB / 0.7908 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.2913, allocations: 37.7 kB / 0.7908 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2915, allocations: 136.4 kB / 0.7909 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2915, allocations: 35.61 kB / 0.791 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.2917, allocations: 89.64 kB / 0.7911 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2918, allocations: 330.8 kB / 0.7914 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.2921, allocations: 148.2 kB / 0.7915 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.2924, allocations: 222.7 kB / 0.7917 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.2929, allocations: 372.9 kB / 0.7921 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2929, allocations: 0 / 0.7921 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008742/0.2938, allocations: 0.5509 MB / 0.7926 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.2939, allocations: 134.8 kB / 0.7928 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.2939, allocations: 7.984 kB / 0.7928 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2939, allocations: 4 kB / 0.7928 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.294, allocations: 11.94 kB / 0.7928 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.294, allocations: 4 kB / 0.7928 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/0.2947, allocations: 123.6 kB / 0.7929 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.2947, allocations: 23.98 kB / 0.7929 GB, free: 3.742 MB / 0.6075 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.0001734/0.2949, allocations: 157.5 kB / 0.7931 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.295, allocations: 19.72 kB / 0.7931 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.295, allocations: 21.23 kB / 0.7931 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.295, allocations: 8 kB / 0.7931 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.295, allocations: 0 / 0.7931 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.295, allocations: 8.875 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.2953, allocations: 253.5 kB / 0.7934 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2953, allocations: 11.88 kB / 0.7934 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.2954, allocations: 15.98 kB / 0.7934 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2954, allocations: 0 / 0.7934 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2954, allocations: 4 kB / 0.7934 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2954, allocations: 0 / 0.7934 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.2954, allocations: 11.94 kB / 0.7934 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.2957, allocations: 219.2 kB / 0.7936 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.2957, allocations: 100.9 kB / 0.7937 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.2958, allocations: 3.984 kB / 0.7937 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.2958, allocations: 8 kB / 0.7937 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.2959, allocations: 11.92 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2959, allocations: 16 kB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001435/0.2961, allocations: 164.5 kB / 0.7939 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2961, allocations: 3.938 kB / 0.7939 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000313/0.2964, allocations: 75.91 kB / 0.794 GB, free: 2.543 MB / 0.6075 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.0001787/0.2966, allocations: 111.5 kB / 0.7941 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.2973, allocations: 0.5437 MB / 0.7946 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2973, allocations: 0 / 0.7946 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.2974, allocations: 87.91 kB / 0.7947 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.2978, allocations: 56.45 kB / 0.7948 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.2985, allocations: 432.5 kB / 0.7952 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.2989, allocations: 0.7281 MB / 0.7959 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.2989, allocations: 19.44 kB / 0.7959 GB, free: 472 kB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2989, allocations: 0 / 0.7959 GB, free: 472 kB / 0.6075 GB Notification: Performance of Templates: time 0.00609/0.305, allocations: 3.487 MB / 0.7993 GB, free: 13.01 MB / 0.6231 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)