Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.476/1.476, allocations: 288.4 MB / 303.6 MB, free: 8.082 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.0009067/0.0009067, allocations: 180.5 kB / 372.2 MB, free: 10.14 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.201/1.201, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0006928/0.0006928, allocations: 94.3 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003488, allocations: 19.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.0009683/0.1714, allocations: 0.8454 MB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1734, allocations: 2.143 MB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1735, allocations: 4 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.1736, allocations: 11.81 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1738, allocations: 75.39 kB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1763, allocations: 1.284 MB / 0.9845 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.1771, allocations: 0.9277 MB / 0.9854 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.1771, allocations: 24.73 kB / 0.9854 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005477/0.1777, allocations: 423.2 kB / 0.9858 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.1781, allocations: 323.1 kB / 0.9861 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.1784, allocations: 60 kB / 0.9862 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.1787, allocations: 83.92 kB / 0.9863 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.1787, allocations: 47.83 kB / 0.9863 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.1792, allocations: 368.8 kB / 0.9867 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.1796, allocations: 0.6703 MB / 0.9873 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1796, allocations: 0 / 0.9873 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/0.1797, allocations: 0 / 0.9873 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.1797, allocations: 3.938 kB / 0.9873 GB, free: 20 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009075/0.1806, allocations: 0.9923 MB / 0.9883 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1806, allocations: 12.03 kB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1807, allocations: 46.73 kB / 0.9883 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.1809, allocations: 68.55 kB / 0.9884 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.181, allocations: 208.5 kB / 0.9886 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.1811, allocations: 36.36 kB / 0.9886 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.1812, allocations: 68.36 kB / 0.9887 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1814, allocations: 214.9 kB / 0.9889 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1815, allocations: 3.938 kB / 0.9889 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1815, allocations: 7.984 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1815, allocations: 4 kB / 0.9889 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.1816, allocations: 75.72 kB / 0.989 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.1822, allocations: 0.8405 MB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.1824, allocations: 327.2 kB / 0.9901 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1825, allocations: 132.9 kB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1825, allocations: 15.92 kB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000417/0.183, allocations: 462.6 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 3.447e-06/0.183, allocations: 0 / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0008155/0.1838, allocations: 0.5616 MB / 0.9913 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.1839, allocations: 443.2 kB / 0.9917 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1841, allocations: 292.3 kB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.1842, allocations: 61.7 kB / 0.992 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1844, allocations: 161.3 kB / 0.9922 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.1844, allocations: 102.8 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.1845, allocations: 36 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.1846, allocations: 350.8 kB / 0.9926 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/0.1853, allocations: 421.3 kB / 0.993 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/0.1861, allocations: 0.7028 MB / 0.9937 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.187, allocations: 1.199 MB / 0.9949 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.1871, allocations: 0 / 0.9949 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00216/0.1892, allocations: 1.716 MB / 0.9966 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.1894, allocations: 481.4 kB / 0.997 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.1894, allocations: 8 kB / 0.997 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1895, allocations: 16 kB / 0.9971 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.1895, allocations: 31.86 kB / 0.9971 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1895, allocations: 16.75 kB / 0.9971 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.1919, allocations: 0.5689 MB / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.1921, allocations: 99.92 kB / 0.9978 GB, free: 8.039 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0002661/0.1924, allocations: 227 kB / 0.998 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.1924, allocations: 47.45 kB / 0.998 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.1925, allocations: 34.14 kB / 0.998 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1925, allocations: 12 kB / 0.9981 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1925, allocations: 4 kB / 0.9981 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1925, allocations: 7.984 kB / 0.9981 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.1928, allocations: 329.3 kB / 0.9984 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1928, allocations: 4 kB / 0.9984 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.1929, allocations: 27.86 kB / 0.9984 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1929, allocations: 4 kB / 0.9984 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.1929, allocations: 15.98 kB / 0.9984 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1929, allocations: 8 kB / 0.9984 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1929, allocations: 7.938 kB / 0.9984 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1934, allocations: 0.5157 MB / 0.9989 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.1934, allocations: 116.6 kB / 0.9991 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.1935, allocations: 19.92 kB / 0.9991 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1936, allocations: 19.98 kB / 0.9991 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.1937, allocations: 63.81 kB / 0.9992 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.1937, allocations: 27.98 kB / 0.9992 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001124/0.1938, allocations: 187.1 kB / 0.9994 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1938, allocations: 0 / 0.9994 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005832/0.1944, allocations: 200 kB / 0.9996 GB, free: 6.043 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0006949/0.1951, allocations: 1.085 MB / 1.001 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.1965, allocations: 1.742 MB / 1.002 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1966, allocations: 0 / 1.002 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1967, allocations: 188.6 kB / 1.002 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.1974, allocations: 121.4 kB / 1.003 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.202, allocations: 3.506 MB / 1.006 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2023, allocations: 0.7761 MB / 1.007 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.2025, allocations: 38.98 kB / 1.007 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2026, allocations: 107.4 kB / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.2026, allocations: 0 / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.2498, allocations: 14 MB / 1.021 GB, free: 268 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.2501, allocations: 215.1 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.525, allocations: 0 / 1.021 GB, free: 16 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)