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.812/1.812, allocations: 288.4 MB / 303.4 MB, free: 8.035 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.001115/0.001115, allocations: 187 kB / 372 MB, free: 10.25 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.823/1.823, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0007416/0.0007416, allocations: 92.2 kB / 0.7441 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 12.03 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009779/0.2118, allocations: 0.6543 MB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.2136, allocations: 1.406 MB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2138, allocations: 4 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.2138, allocations: 7.875 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.214, allocations: 39.69 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2151, allocations: 377.1 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.2154, allocations: 391.1 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2156, allocations: 37.84 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.2159, allocations: 139.6 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2161, allocations: 115.5 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.2162, allocations: 19.98 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.2164, allocations: 35.92 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.2164, allocations: 27.8 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2165, allocations: 69.64 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.2169, allocations: 371.3 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2169, allocations: 0 / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2169, allocations: 4 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.2169, allocations: 0 / 0.9832 GB, free: 23.96 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.0006452/0.2176, allocations: 0.5715 MB / 0.9837 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2176, allocations: 8.031 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.2177, allocations: 35.67 kB / 0.9838 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2179, allocations: 217.8 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.218, allocations: 12 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.218, allocations: 24 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.2183, allocations: 125 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2183, allocations: 0 / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2183, allocations: 11.97 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2183, allocations: 4 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2184, allocations: 47.92 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.2193, allocations: 0.8834 MB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2195, allocations: 118.4 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.2196, allocations: 51.48 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.2196, allocations: 3.953 kB / 0.9852 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.2199, allocations: 184.8 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.2199, allocations: 0 / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0004535/0.2203, allocations: 221.3 kB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.2204, allocations: 128.5 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.2206, allocations: 244.9 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.2207, allocations: 45.69 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.2208, allocations: 132.4 kB / 0.9862 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2208, allocations: 27.62 kB / 0.9862 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.2209, allocations: 8 kB / 0.9862 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.2209, allocations: 334.8 kB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.2212, allocations: 148.1 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2215, allocations: 224.6 kB / 0.9869 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2218, allocations: 258.7 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2218, allocations: 0 / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007385/0.2225, allocations: 0.5544 MB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.2226, allocations: 138.8 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2226, allocations: 4 kB / 0.9878 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2226, allocations: 4 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.2227, allocations: 8.25 kB / 0.9878 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2227, allocations: 11.94 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.2234, allocations: 161.4 kB / 0.988 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.2235, allocations: 23.97 kB / 0.988 GB, free: 18.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.0001477/0.2236, allocations: 151.3 kB / 0.9881 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.2237, allocations: 27.61 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.13e-05/0.2237, allocations: 25.23 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2237, allocations: 4.938 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2237, allocations: 0 / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2238, allocations: 8 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.224, allocations: 253.5 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.224, allocations: 4 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.224, allocations: 11.98 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.224, allocations: 7.891 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2241, allocations: 8 kB / 0.9885 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2241, allocations: 3.938 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2241, allocations: 4 kB / 0.9885 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.2243, allocations: 223.2 kB / 0.9887 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2244, allocations: 92.91 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.2244, allocations: 11.95 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/0.2245, allocations: 4 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.2245, allocations: 11.98 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.2246, allocations: 11.98 kB / 0.9888 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001332/0.2247, allocations: 168.5 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2247, allocations: 0 / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003099/0.225, allocations: 67.98 kB / 0.989 GB, free: 17.42 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.0001884/0.2252, allocations: 107.2 kB / 0.9891 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.2258, allocations: 0.5248 MB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2258, allocations: 4.5 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.2259, allocations: 63.92 kB / 0.9897 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2263, allocations: 56.38 kB / 0.9898 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.2268, allocations: 383.3 kB / 0.9901 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.227, allocations: 0.7323 MB / 0.9909 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.2271, allocations: 17.55 kB / 0.9909 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.2271, allocations: 15.44 kB / 0.9909 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2271, allocations: 0 / 0.9909 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.007102/0.2342, allocations: 4.195 MB / 0.995 GB, free: 11.28 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)