Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 177.7 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 86.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003336, allocations: 14.14 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001385/0.201, allocations: 1.073 MB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000328/0.2014, allocations: 128.5 kB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.2015, allocations: 7.938 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.2015, allocations: 0 / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.2016, allocations: 7.922 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.2018, allocations: 11.97 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.02e-05/0.2018, allocations: 39.92 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.2019, allocations: 4 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.202, allocations: 19.92 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.2021, allocations: 23.91 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2021, allocations: 0 / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.2021, allocations: 4 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.2021, allocations: 4 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.2022, allocations: 23.84 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.612e-05/0.2023, allocations: 24.16 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2023, allocations: 4 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2023, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2023, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 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.0004994/0.2028, allocations: 352.2 kB / 0.8984 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2029, allocations: 12.02 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.2029, allocations: 8.844 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.203, allocations: 164.3 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.203, allocations: 384 / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.203, allocations: 8.375 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2032, allocations: 66.22 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2033, allocations: 192 / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2033, allocations: 7.875 kB / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2033, allocations: 0 / 0.8987 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.2035, allocations: 63.89 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.2038, allocations: 256.9 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.2041, allocations: 78.47 kB / 0.8991 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.2042, allocations: 32.92 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2042, allocations: 4 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.2044, allocations: 87.3 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.2045, allocations: 0 / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003956/0.2049, allocations: 121.6 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.2049, allocations: 59.34 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.205, allocations: 109.8 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.205, allocations: 25.7 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.205, allocations: 92.05 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.205, allocations: 11.88 kB / 0.8996 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.2051, allocations: 17.72 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.2051, allocations: 310.8 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.2052, allocations: 39.97 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.693e-05/0.2053, allocations: 35.97 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.2055, allocations: 69.22 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2055, allocations: 3.938 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002402/0.2058, allocations: 113.6 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2058, allocations: 4 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2058, allocations: 4 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2058, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2059, allocations: 15.98 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2059, allocations: 0 / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.206, allocations: 19.83 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2061, allocations: 4 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.2061, allocations: 125.7 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.2062, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.2062, allocations: 7.906 kB / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2062, allocations: 4 kB / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2062, allocations: 0 / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2062, allocations: 0 / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.598e-05/0.2063, allocations: 169.7 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2063, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.2064, allocations: 11.98 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2064, allocations: 7.984 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2064, allocations: 4 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2064, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2064, allocations: 0 / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.2067, allocations: 132.9 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2067, allocations: 85.05 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2067, allocations: 4 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.2068, allocations: 11.98 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.2069, allocations: 11.98 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2069, allocations: 4 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.2069, allocations: 87.27 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2069, allocations: 0 / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001772/0.2071, allocations: 11.94 kB / 0.9009 GB, free: 63.6 MB / 0.6042 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.2072, allocations: 103.2 kB / 0.901 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.2075, allocations: 75.94 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2075, allocations: 0 / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2076, allocations: 43.89 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.2078, allocations: 7.938 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.2082, allocations: 157.6 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.976e-05/0.2083, allocations: 0.6848 MB / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.2083, allocations: 7.438 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2083, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.001928/0.2102, allocations: 0.793 MB / 0.9027 GB, free: 61.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)