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 3.114/3.114, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001559/0.001559, allocations: 193.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.348/2.348, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001155/0.001155, allocations: 94.58 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007667/0.000767, allocations: 18.3 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2261, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001198/0.2274, allocations: 0.6505 MB / 0.9789 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2294, allocations: 1.332 MB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.485e-05/0.2295, allocations: 8 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.2296, allocations: 11.86 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.2298, allocations: 51.84 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.2312, allocations: 371.5 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.2316, allocations: 231.6 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2317, allocations: 41.84 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2319, allocations: 139.6 kB / 0.981 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2321, allocations: 119.5 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.2322, allocations: 20 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.2324, allocations: 31.97 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.2324, allocations: 27.92 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.884e-05/0.2325, allocations: 65.58 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.233, allocations: 379.2 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.233, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.233, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.233, allocations: 0 / 0.9816 GB, free: 24.89 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.0007087/0.2337, allocations: 0.5637 MB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2338, allocations: 12.03 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2339, allocations: 31.67 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2341, allocations: 213.9 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.2342, allocations: 27.88 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.2343, allocations: 27.94 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.2345, allocations: 117.1 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2345, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2346, allocations: 8 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2346, allocations: 0 / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.2348, allocations: 59.86 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.2359, allocations: 0.8756 MB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.2361, allocations: 118.4 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2361, allocations: 3.938 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.2365, allocations: 182.6 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.2365, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0007064/0.2372, allocations: 217.4 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2373, allocations: 140.5 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.2376, allocations: 240.9 kB / 0.9843 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/0.2377, allocations: 41.69 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2379, allocations: 124.5 kB / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.2379, allocations: 31.61 kB / 0.9845 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.238, allocations: 12 kB / 0.9845 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.2381, allocations: 330.8 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.2385, allocations: 144.2 kB / 0.985 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.239, allocations: 222.7 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.2395, allocations: 262.7 kB / 0.9854 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2395, allocations: 7.891 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001385/0.2409, allocations: 0.5467 MB / 0.986 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.2411, allocations: 139 kB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2411, allocations: 8 kB / 0.9861 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.2411, allocations: 4 kB / 0.9861 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2412, allocations: 11.94 kB / 0.9861 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2413, allocations: 4 kB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.2426, allocations: 161.4 kB / 0.9863 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.2427, allocations: 23.97 kB / 0.9863 GB, free: 19.59 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.0002256/0.2429, allocations: 157.6 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.243, allocations: 23.67 kB / 0.9865 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.2431, allocations: 26.17 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2431, allocations: 4 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2431, allocations: 0 / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2431, allocations: 4 kB / 0.9865 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2434, allocations: 257.5 kB / 0.9868 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2434, allocations: 0 / 0.9868 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.2435, allocations: 15.94 kB / 0.9868 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2435, allocations: 0 / 0.9868 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2435, allocations: 11.94 kB / 0.9868 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2435, allocations: 3.938 kB / 0.9868 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2436, allocations: 8 kB / 0.9868 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.244, allocations: 258.4 kB / 0.9871 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.244, allocations: 96.91 kB / 0.9872 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.2441, allocations: 4 kB / 0.9872 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.2442, allocations: 8 kB / 0.9872 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.2443, allocations: 15.92 kB / 0.9872 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2443, allocations: 15.94 kB / 0.9872 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001779/0.2445, allocations: 164.5 kB / 0.9874 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2445, allocations: 0 / 0.9874 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005592/0.2451, allocations: 67.98 kB / 0.9874 GB, free: 18.36 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.0001723/0.2452, allocations: 112.2 kB / 0.9875 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009835/0.2462, allocations: 0.5248 MB / 0.988 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.2463, allocations: 0 / 0.988 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2464, allocations: 71.8 kB / 0.9881 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.2471, allocations: 56.88 kB / 0.9882 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.2478, allocations: 377.6 kB / 0.9885 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.248, allocations: 0.7323 MB / 0.9892 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2481, allocations: 21.55 kB / 0.9893 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.2482, allocations: 23.44 kB / 0.9893 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2482, allocations: 0 / 0.9893 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.01093/0.2592, allocations: 4.179 MB / 0.9934 GB, free: 12.21 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)