Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 1.486/1.486, allocations: 287.4 MB / 302.5 MB, free: 8.305 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.0008705/0.0008708, allocations: 184.6 kB / 371.1 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 1.236/1.236, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0006513/0.0006513, allocations: 104.6 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 13.17 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1677, allocations: 115.3 MB / 0.9788 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.0008494/0.1685, allocations: 0.8443 MB / 0.9796 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1702, allocations: 2.143 MB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.185e-05/0.1702, allocations: 0 / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.1703, allocations: 15.81 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1704, allocations: 79.33 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1725, allocations: 1.274 MB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.173, allocations: 0.9317 MB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.173, allocations: 20.73 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.1733, allocations: 423.2 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.1735, allocations: 323.1 kB / 0.9847 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1736, allocations: 56 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1738, allocations: 83.91 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.1738, allocations: 47.83 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1739, allocations: 121.6 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1743, allocations: 0.6664 MB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1743, allocations: 4 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1743, allocations: 0 / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1743, allocations: 0 / 0.9856 GB, free: 21.11 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.0006316/0.175, allocations: 0.9964 MB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.175, allocations: 12.03 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.175, allocations: 38.73 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1752, allocations: 64.56 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.1753, allocations: 224.4 kB / 0.9869 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1753, allocations: 44.36 kB / 0.9869 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1754, allocations: 64.36 kB / 0.987 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1756, allocations: 207 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1756, allocations: 11.88 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1757, allocations: 7.984 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1757, allocations: 4 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.1758, allocations: 71.77 kB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.1763, allocations: 0.8453 MB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.1765, allocations: 327.2 kB / 0.9884 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.1766, allocations: 136.9 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.1766, allocations: 8 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.177, allocations: 474.5 kB / 0.989 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.177, allocations: 7.938 kB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.0007102/0.1777, allocations: 0.5498 MB / 0.9896 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.1778, allocations: 439.2 kB / 0.99 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.178, allocations: 296.3 kB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.1781, allocations: 65.7 kB / 0.9903 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1782, allocations: 161.3 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.1783, allocations: 98.83 kB / 0.9906 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-05/0.1783, allocations: 36 kB / 0.9906 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.1784, allocations: 346.8 kB / 0.9909 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.1791, allocations: 425.3 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.1798, allocations: 0.7027 MB / 0.992 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.1806, allocations: 1.187 MB / 0.9932 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1806, allocations: 4 kB / 0.9932 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001946/0.1826, allocations: 1.724 MB / 0.9949 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1827, allocations: 477.5 kB / 0.9953 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1827, allocations: 9.188 kB / 0.9953 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1828, allocations: 12 kB / 0.9954 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.1828, allocations: 39.78 kB / 0.9954 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1828, allocations: 23.94 kB / 0.9954 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.185, allocations: 0.565 MB / 0.996 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.1851, allocations: 95.92 kB / 0.9961 GB, free: 9.133 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.0001983/0.1853, allocations: 218.9 kB / 0.9963 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.1854, allocations: 47.45 kB / 0.9963 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.1854, allocations: 42.14 kB / 0.9964 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1854, allocations: 8 kB / 0.9964 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1854, allocations: 4 kB / 0.9964 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1854, allocations: 8 kB / 0.9964 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1857, allocations: 341.2 kB / 0.9967 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1857, allocations: 0 / 0.9967 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.1857, allocations: 27.86 kB / 0.9967 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1857, allocations: 4 kB / 0.9967 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1858, allocations: 19.98 kB / 0.9968 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1858, allocations: 11.94 kB / 0.9968 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1858, allocations: 4 kB / 0.9968 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.1862, allocations: 0.5042 MB / 0.9973 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1863, allocations: 120.5 kB / 0.9974 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1863, allocations: 15.98 kB / 0.9974 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.1864, allocations: 16 kB / 0.9974 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.1865, allocations: 67.8 kB / 0.9975 GB, free: 7.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1865, allocations: 31.97 kB / 0.9975 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001063/0.1866, allocations: 183.1 kB / 0.9977 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1866, allocations: 0 / 0.9977 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004803/0.1871, allocations: 196 kB / 0.9979 GB, free: 7.145 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.000609/0.1877, allocations: 1.085 MB / 0.9989 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.189, allocations: 1.739 MB / 1.001 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.189, allocations: 8 kB / 1.001 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.1892, allocations: 181 kB / 1.001 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.1899, allocations: 119 kB / 1.001 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.1938, allocations: 3.518 MB / 1.004 GB, free: 28 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1941, allocations: 0.7722 MB / 1.005 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.1942, allocations: 46.95 kB / 1.005 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1944, allocations: 103.4 kB / 1.005 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.1944, allocations: 0 / 1.005 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.2196, allocations: 13.88 MB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.2198, allocations: 205.1 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.216, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)