Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.3 MB / 303.2 MB, free: 8.125 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.001226/0.001226, allocations: 179.2 kB / 371.8 MB, free: 10.3 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.915/1.915, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.001034/0.001034, allocations: 95.61 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 11.25 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0008875/0.2598, allocations: 0.6584 MB / 0.9801 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2613, allocations: 1.34 MB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.2614, allocations: 4 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.2614, allocations: 11.86 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.2616, allocations: 43.86 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.2623, allocations: 377.4 kB / 0.9818 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.2625, allocations: 235.6 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2627, allocations: 37.83 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2628, allocations: 143.6 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2629, allocations: 115.6 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.263, allocations: 20 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.263, allocations: 35.92 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.2631, allocations: 23.91 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2631, allocations: 69.58 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2634, allocations: 375.3 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2634, allocations: 0 / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2634, allocations: 3.938 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2634, allocations: 0 / 0.9828 GB, free: 24.23 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.0005301/0.264, allocations: 0.5599 MB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.264, allocations: 16.03 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.2641, allocations: 31.67 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2642, allocations: 217.8 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.2643, allocations: 16 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.2643, allocations: 20 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.2645, allocations: 121 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2645, allocations: 0 / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2646, allocations: 8 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2646, allocations: 0 / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.091e-05/0.2647, allocations: 59.91 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.2654, allocations: 0.8795 MB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2655, allocations: 118.4 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.2655, allocations: 4.062 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.2658, allocations: 178.5 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.2658, allocations: 4 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000367/0.2661, allocations: 225.3 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.2662, allocations: 136.5 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.2665, allocations: 236.9 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.2666, allocations: 41.69 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.2667, allocations: 128.5 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2667, allocations: 31.61 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.2668, allocations: 11.98 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.2669, allocations: 334.8 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.2673, allocations: 140.2 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.2677, allocations: 224.5 kB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.2681, allocations: 262.7 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2681, allocations: 0 / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00118/0.2693, allocations: 0.5545 MB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.2694, allocations: 138.8 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2694, allocations: 4 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/0.2694, allocations: 4 kB / 0.9874 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2696, allocations: 11.94 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.2696, allocations: 4 kB / 0.9874 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2706, allocations: 159.9 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.2707, allocations: 27.97 kB / 0.9876 GB, free: 18.94 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.0001881/0.2709, allocations: 157.7 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.271, allocations: 23.67 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.271, allocations: 25.23 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2711, allocations: 0 / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.2711, allocations: 4 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2711, allocations: 0 / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.2714, allocations: 257.5 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2714, allocations: 0 / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.2714, allocations: 11.98 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2714, allocations: 3.953 kB / 0.988 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2715, allocations: 8 kB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.2715, allocations: 4 kB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2715, allocations: 3.938 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.2719, allocations: 254.3 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.2719, allocations: 100.9 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.272, allocations: 4 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.2721, allocations: 4 kB / 0.9884 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.2722, allocations: 11.98 kB / 0.9884 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2722, allocations: 15.98 kB / 0.9884 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001724/0.2724, allocations: 160.5 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2724, allocations: 3.938 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000565/0.273, allocations: 79.88 kB / 0.9886 GB, free: 17.71 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.0001769/0.2731, allocations: 116.4 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007966/0.2739, allocations: 0.5287 MB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.274, allocations: 0 / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.2741, allocations: 68.41 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.2746, allocations: 60.31 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.2753, allocations: 379.4 kB / 0.9898 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2755, allocations: 0.7362 MB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.346e-05/0.2756, allocations: 17.55 kB / 0.9905 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.179e-05/0.2757, allocations: 15.44 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of SimCode: time 4.7e-07/0.2757, allocations: 0 / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.009751/0.2855, allocations: 4.177 MB / 0.9946 GB, free: 11.58 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)