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.354/1.354, allocations: 252 MB / 268 MB, free: 10.87 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.0009786/0.0009786, allocations: 175 kB / 327.6 MB, free: 2.109 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.61/1.61, allocations: 205.4 MB / 0.5786 GB, free: 20.23 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.0007816/0.0007816, allocations: 103 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.000328, allocations: 12.56 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2179, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001442/0.2194, allocations: 1.065 MB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003005/0.2197, allocations: 133.8 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.2197, allocations: 0 / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.2198, allocations: 3.938 kB / 0.9027 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.2198, allocations: 11.98 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.22, allocations: 7.938 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.2201, allocations: 43.91 kB / 0.9027 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.2201, allocations: 3.984 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.2202, allocations: 19.92 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.2203, allocations: 19.92 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2203, allocations: 4 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.2203, allocations: 0 / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.2203, allocations: 7.984 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.2204, allocations: 41.62 kB / 0.9028 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.405e-05/0.2205, allocations: 27.92 kB / 0.9028 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2205, allocations: 3.938 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.083e-06/0.2205, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2205, allocations: 0 / 0.9028 GB, free: 62.06 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.0005065/0.221, allocations: 355.7 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.221, allocations: 15.97 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2211, allocations: 4.844 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.2212, allocations: 168.4 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2212, allocations: 384 / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.2212, allocations: 4.375 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.2215, allocations: 70.22 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2215, allocations: 192 / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2215, allocations: 3.938 kB / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2215, allocations: 0 / 0.9034 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.2217, allocations: 55.89 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.222, allocations: 264.9 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.2222, allocations: 74.47 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2224, allocations: 40.92 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.2224, allocations: 3.938 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.2226, allocations: 83.36 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.2226, allocations: 4 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003791/0.223, allocations: 121.6 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2231, allocations: 51.41 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.2231, allocations: 113.8 kB / 0.9042 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2231, allocations: 29.7 kB / 0.9042 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.2232, allocations: 88.05 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.2232, allocations: 15.83 kB / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.2232, allocations: 0 / 0.9043 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.2233, allocations: 314.8 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.2234, allocations: 39.97 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2235, allocations: 27.98 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.2237, allocations: 76.73 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2237, allocations: 3.938 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002354/0.2239, allocations: 106.1 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2239, allocations: 4 kB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.224, allocations: 0 / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.224, allocations: 0 / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2241, allocations: 19.98 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2241, allocations: 4 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.569e-05/0.2242, allocations: 15.89 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2242, allocations: 3.938 kB / 0.9049 GB, free: 59.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 6.661e-05/0.2243, allocations: 125.7 kB / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.2243, allocations: 0 / 0.905 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.2243, allocations: 16.09 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2243, allocations: 3.984 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2243, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2244, allocations: 0 / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.2244, allocations: 169.6 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2244, allocations: 0 / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.784e-05/0.2245, allocations: 11.98 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2245, allocations: 0 / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2245, allocations: 4 kB / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2245, allocations: 80 / 0.9052 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2245, allocations: 7.984 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2248, allocations: 128.9 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.096e-05/0.2248, allocations: 77.11 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.2248, allocations: 4 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.2249, allocations: 19.86 kB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.225, allocations: 15.98 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.225, allocations: 0 / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.225, allocations: 83.28 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.225, allocations: 4 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001757/0.2252, allocations: 8 kB / 0.9056 GB, free: 58.93 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.0001138/0.2253, allocations: 103.2 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.2256, allocations: 71.95 kB / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2256, allocations: 0 / 0.9057 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2257, allocations: 43.91 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.2259, allocations: 20.28 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.2263, allocations: 160.3 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.943e-05/0.2264, allocations: 0.6809 MB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2264, allocations: 15.44 kB / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2264, allocations: 0 / 0.9066 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of Templates: time 0.001849/0.2283, allocations: 0.7923 MB / 0.9074 GB, free: 57 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)