Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_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.695/1.695, allocations: 288.4 MB / 303.3 MB, free: 8.195 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.001014/0.001014, allocations: 189.2 kB / 372 MB, free: 10.26 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.485/1.485, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007829/0.0007829, allocations: 93.05 kB / 0.744 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 13.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0008339/0.1951, allocations: 450 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1965, allocations: 1.099 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1965, allocations: 0 / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1966, allocations: 3.938 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.1967, allocations: 19.91 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.1972, allocations: 107 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1973, allocations: 91.83 kB / 0.9814 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.1974, allocations: 11.98 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.1975, allocations: 43.78 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.1976, allocations: 31.89 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1976, allocations: 4 kB / 0.9815 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.1977, allocations: 19.98 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.1977, allocations: 3.938 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.1977, allocations: 41.7 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1979, allocations: 99.97 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1979, allocations: 0 / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.1979, allocations: 0 / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1979, allocations: 0 / 0.9816 GB, free: 25.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004057/0.1983, allocations: 376.9 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1984, allocations: 12.02 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.93e-05/0.1984, allocations: 38.56 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1984, allocations: 4 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1986, allocations: 178.9 kB / 0.9822 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.1986, allocations: 15.88 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1986, allocations: 7.984 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.725e-05/0.1987, allocations: 45.69 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1987, allocations: 0 / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1987, allocations: 0 / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1987, allocations: 0 / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.1988, allocations: 12 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.1992, allocations: 332.8 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.1992, allocations: 38.5 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.1993, allocations: 12.92 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1993, allocations: 4 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.1994, allocations: 63.39 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1994, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002261/0.1996, allocations: 81.53 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1997, allocations: 55.39 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.1998, allocations: 129.7 kB / 0.983 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1998, allocations: 29.7 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.1998, allocations: 96.11 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.1999, allocations: 11.81 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.1999, allocations: 4 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.1999, allocations: 314.8 kB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.2, allocations: 39.98 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.2001, allocations: 58.55 kB / 0.9835 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.975e-05/0.2002, allocations: 61.69 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2002, allocations: 0 / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000231/0.2004, allocations: 159.3 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.2005, allocations: 37.7 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2005, allocations: 3.938 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2005, allocations: 4.062 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.2006, allocations: 7.938 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2006, allocations: 0 / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.2008, allocations: 35.95 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2009, allocations: 11.95 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.623e-05/0.2009, allocations: 121.8 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.201, allocations: 7.906 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.201, allocations: 11.89 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.201, allocations: 0 / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.201, allocations: 0 / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.201, allocations: 4 kB / 0.984 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.2011, allocations: 173.5 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2011, allocations: 0 / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.2011, allocations: 7.984 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.2011, allocations: 4 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2012, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2012, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2012, allocations: 0 / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.2013, allocations: 101.1 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.2013, allocations: 81.09 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2013, allocations: 0 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.2013, allocations: 8 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.2014, allocations: 4 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.2014, allocations: 0 / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.2014, allocations: 95.27 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2014, allocations: 0 / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002086/0.2017, allocations: 27.91 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003007/0.202, allocations: 0.632 MB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.2022, allocations: 135.4 kB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2022, allocations: 4 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.2022, allocations: 15.94 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.2025, allocations: 20.95 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.2033, allocations: 0.6009 MB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2034, allocations: 0.6809 MB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.2035, allocations: 8.188 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.2035, allocations: 23.42 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2035, allocations: 0 / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.2169, allocations: 2.153 MB / 0.9886 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.2172, allocations: 221.2 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.808, allocations: 0 / 0.9888 GB, free: 17.82 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)