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.001547/0.001548, allocations: 105 kB / 16.29 MB, free: 6.008 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.001359/0.001359, allocations: 179.2 kB / 17.22 MB, free: 5.617 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.714/1.714, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 2.012/2.012, allocations: 292.3 MB / 0.5495 GB, free: 17.65 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.001684/0.001684, allocations: 71.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2639, allocations: 114.6 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003066/0.2671, allocations: 0.9646 MB / 0.785 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.2697, allocations: 1.429 MB / 0.7864 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.2699, allocations: 4 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.472e-05/0.27, allocations: 15.8 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.2702, allocations: 51.56 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2716, allocations: 443.9 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.2723, allocations: 0.5147 MB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.2725, allocations: 57.58 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.2728, allocations: 175.6 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.2731, allocations: 171.3 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.5443/0.8174, allocations: 46.23 kB / 0.7879 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.8177, allocations: 63.8 kB / 0.7879 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.8178, allocations: 35.08 kB / 0.788 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.818, allocations: 173.2 kB / 0.7881 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.8185, allocations: 0.4885 MB / 0.7886 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8185, allocations: 2.625 kB / 0.7886 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8185, allocations: 0 / 0.7886 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.8185, allocations: 0 / 0.7886 GB, free: 46.44 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.0006796/0.8192, allocations: 0.6342 MB / 0.7892 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8192, allocations: 8.312 kB / 0.7892 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.8193, allocations: 31.5 kB / 0.7893 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.8195, allocations: 225.3 kB / 0.7895 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.8195, allocations: 16.61 kB / 0.7895 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.8196, allocations: 19.41 kB / 0.7895 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8198, allocations: 125.2 kB / 0.7896 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8198, allocations: 192 / 0.7896 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.8198, allocations: 12.56 kB / 0.7896 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8198, allocations: 2.625 kB / 0.7896 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.8199, allocations: 50.22 kB / 0.7897 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.8207, allocations: 0.8684 MB / 0.7905 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.8208, allocations: 118.8 kB / 0.7907 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.297e-05/0.8209, allocations: 54.64 kB / 0.7907 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.8209, allocations: 0 / 0.7907 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.8211, allocations: 184.2 kB / 0.7909 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.8211, allocations: 0 / 0.7909 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003879/0.8215, allocations: 224.4 kB / 0.7911 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.8215, allocations: 143.1 kB / 0.7912 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.8217, allocations: 235.6 kB / 0.7915 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.8218, allocations: 41.45 kB / 0.7915 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.8219, allocations: 131.6 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.8219, allocations: 36.38 kB / 0.7917 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.822, allocations: 88.95 kB / 0.7917 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.8221, allocations: 340.5 kB / 0.7921 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.8225, allocations: 147.5 kB / 0.7922 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.8229, allocations: 222 kB / 0.7924 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.8234, allocations: 364 kB / 0.7928 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.8234, allocations: 5.125 kB / 0.7928 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008152/0.8243, allocations: 0.5508 MB / 0.7933 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.8243, allocations: 134.6 kB / 0.7934 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8244, allocations: 3.781 kB / 0.7934 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.8244, allocations: 5.094 kB / 0.7934 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.8245, allocations: 14.91 kB / 0.7935 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8245, allocations: 3.469 kB / 0.7935 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.8251, allocations: 115 kB / 0.7936 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.8251, allocations: 27.45 kB / 0.7936 GB, free: 43.49 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.0001274/0.8253, allocations: 161.1 kB / 0.7938 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.8253, allocations: 18.5 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.8254, allocations: 28.08 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8254, allocations: 3.5 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8254, allocations: 4.688 kB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8254, allocations: 7.438 kB / 0.7938 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.8256, allocations: 256.6 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.8256, allocations: 0 / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.8257, allocations: 14.08 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8257, allocations: 3.438 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.8257, allocations: 6.719 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.8257, allocations: 3.094 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8257, allocations: 7.094 kB / 0.7941 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.8259, allocations: 221.7 kB / 0.7943 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.826, allocations: 94.89 kB / 0.7944 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.826, allocations: 7.094 kB / 0.7944 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.8261, allocations: 2.953 kB / 0.7944 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.8261, allocations: 17.25 kB / 0.7944 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.8261, allocations: 11.36 kB / 0.7944 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001349/0.8263, allocations: 164.2 kB / 0.7946 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8263, allocations: 0 / 0.7946 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003274/0.8266, allocations: 78.73 kB / 0.7947 GB, free: 42.87 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.0001535/0.8268, allocations: 116.7 kB / 0.7948 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00062/0.8274, allocations: 0.5234 MB / 0.7953 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8274, allocations: 0.6562 kB / 0.7953 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.709e-05/0.8275, allocations: 65.64 kB / 0.7953 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.8279, allocations: 68.2 kB / 0.7954 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.8286, allocations: 345.1 kB / 0.7957 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.8288, allocations: 0.728 MB / 0.7965 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.138e-05/0.8288, allocations: 25.34 kB / 0.7965 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.8289, allocations: 17.78 kB / 0.7965 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8289, allocations: 0 / 0.7965 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.01139/0.8403, allocations: 4.562 MB / 0.8009 GB, free: 41.39 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)