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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_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.475/1.475, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0008587/0.0008585, allocations: 192.8 kB / 372.3 MB, free: 10.1 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.252/1.252, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.000679/0.0006793, allocations: 96.67 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 12.5 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.000792/0.1746, allocations: 0.6544 MB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1758, allocations: 1.414 MB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.1759, allocations: 4 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.1759, allocations: 3.938 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.887e-05/0.176, allocations: 43.62 kB / 0.9823 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.1768, allocations: 386.3 kB / 0.9826 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.177, allocations: 383.2 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1771, allocations: 41.67 kB / 0.9831 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1772, allocations: 143.6 kB / 0.9832 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1773, allocations: 123.5 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1774, allocations: 19.94 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.1775, allocations: 31.98 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.1775, allocations: 23.86 kB / 0.9834 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1776, allocations: 169.1 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.1778, allocations: 363.3 kB / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1779, allocations: 0 / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1779, allocations: 4 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1779, allocations: 0 / 0.9839 GB, free: 23.44 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.0004449/0.1783, allocations: 0.5717 MB / 0.9844 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1784, allocations: 8.031 kB / 0.9845 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.1784, allocations: 38.75 kB / 0.9845 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.1785, allocations: 32.66 kB / 0.9845 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.1786, allocations: 226.9 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1786, allocations: 8.375 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1787, allocations: 24.38 kB / 0.9848 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1788, allocations: 121.6 kB / 0.9849 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1788, allocations: 7.875 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1789, allocations: 3.984 kB / 0.9849 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1789, allocations: 4 kB / 0.9849 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.028e-05/0.179, allocations: 47.98 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.1796, allocations: 0.8872 MB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1797, allocations: 114.4 kB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1798, allocations: 55.47 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1798, allocations: 4 kB / 0.986 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.18, allocations: 177 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.18, allocations: 0 / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003301/0.1803, allocations: 221.2 kB / 0.9864 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1804, allocations: 144.5 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1805, allocations: 240.8 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.1806, allocations: 37.7 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1807, allocations: 132.5 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.1807, allocations: 27.61 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.1807, allocations: 12 kB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.1808, allocations: 334.8 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.181, allocations: 144.2 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.1813, allocations: 224.5 kB / 0.9876 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1816, allocations: 365 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1816, allocations: 0 / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006701/0.1823, allocations: 0.5583 MB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.1823, allocations: 134.8 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1823, allocations: 4 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1823, allocations: 4 kB / 0.9886 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.1824, allocations: 11.98 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1824, allocations: 7.938 kB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.1831, allocations: 165.5 kB / 0.9888 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.1832, allocations: 27.98 kB / 0.9888 GB, free: 17.88 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.0001121/0.1833, allocations: 159.3 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1833, allocations: 19.81 kB / 0.989 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.1834, allocations: 17.25 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1834, allocations: 7.984 kB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1834, allocations: 3.938 kB / 0.989 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1834, allocations: 7.938 kB / 0.989 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1836, allocations: 261.4 kB / 0.9893 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1836, allocations: 4 kB / 0.9893 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1836, allocations: 12 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1836, allocations: 3.984 kB / 0.9893 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1836, allocations: 4 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1836, allocations: 0 / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1836, allocations: 4 kB / 0.9893 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.1838, allocations: 220.2 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.1839, allocations: 96.83 kB / 0.9896 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1839, allocations: 7.984 kB / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.843e-05/0.184, allocations: 7.938 kB / 0.9896 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.184, allocations: 15.92 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.184, allocations: 12 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.1841, allocations: 164.5 kB / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1841, allocations: 0 / 0.9898 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002844/0.1844, allocations: 68 kB / 0.9899 GB, free: 16.71 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.0003548/0.1848, allocations: 0.7708 MB / 0.9906 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.1852, allocations: 0.5247 MB / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1853, allocations: 0 / 0.9911 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1853, allocations: 71.91 kB / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.1857, allocations: 59.64 kB / 0.9913 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.1876, allocations: 1.614 MB / 0.9928 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1877, allocations: 0.732 MB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.774e-05/0.1878, allocations: 17.55 kB / 0.9936 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.1878, allocations: 59.41 kB / 0.9936 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.1878, allocations: 0 / 0.9936 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.2104, allocations: 6.17 MB / 0.9997 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.2106, allocations: 211.5 kB / 0.9999 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.926, allocations: 0 / 0.9999 GB, free: 6.449 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)