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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.853/1.853, allocations: 288.4 MB / 303.7 MB, free: 8.055 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.001082/0.001081, allocations: 182.3 kB / 372.3 MB, free: 10.16 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.946/1.946, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0008548/0.0008548, allocations: 107.3 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.000483, allocations: 13.69 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 115.3 MB / 0.9802 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009147/0.245, allocations: 449.9 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2463, allocations: 1.107 MB / 0.9817 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.2464, allocations: 8 kB / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.2464, allocations: 0 / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.2465, allocations: 7.922 kB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.2469, allocations: 108.8 kB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.934e-05/0.247, allocations: 107.7 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.2471, allocations: 8 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.2472, allocations: 31.92 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.2473, allocations: 31.89 kB / 0.982 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2473, allocations: 8 kB / 0.982 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.732e-05/0.2474, allocations: 19.92 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.2474, allocations: 7.984 kB / 0.982 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.2475, allocations: 61.55 kB / 0.9821 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2476, allocations: 91.98 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2476, allocations: 4 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2476, allocations: 0 / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2476, allocations: 4 kB / 0.9821 GB, free: 25.29 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.0003678/0.248, allocations: 373 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.248, allocations: 12.03 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.2481, allocations: 8.938 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.2482, allocations: 180.2 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2482, allocations: 8.359 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2482, allocations: 4.375 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.875e-05/0.2483, allocations: 50.25 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2484, allocations: 4.125 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2484, allocations: 3.938 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2484, allocations: 3.938 kB / 0.9828 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.2484, allocations: 15.98 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.2488, allocations: 328.8 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.2488, allocations: 34.45 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.2489, allocations: 16.92 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.2489, allocations: 0 / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.249, allocations: 75.23 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.249, allocations: 0 / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000215/0.2493, allocations: 73.67 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.2493, allocations: 51.41 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.2494, allocations: 121.8 kB / 0.9835 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2494, allocations: 29.7 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.2495, allocations: 99.97 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.2495, allocations: 3.906 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.2495, allocations: 8 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.2496, allocations: 318.8 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.2496, allocations: 43.97 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.2497, allocations: 50.56 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.2498, allocations: 92.2 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2498, allocations: 7.938 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002125/0.2501, allocations: 163.2 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.2501, allocations: 43.56 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2501, allocations: 0 / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2501, allocations: 0 / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.2502, allocations: 4.062 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2502, allocations: 4 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2504, allocations: 40.03 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2504, allocations: 7.984 kB / 0.9843 GB, free: 22.79 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 6.145e-05/0.2505, allocations: 117.8 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.2505, allocations: 4 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.2505, allocations: 7.906 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2506, allocations: 7.938 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2506, allocations: 0 / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2506, allocations: 0 / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.559e-05/0.2507, allocations: 181.5 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2507, allocations: 0 / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.2507, allocations: 4 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2507, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2507, allocations: 240 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2507, allocations: 3.938 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2507, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.2508, allocations: 101 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.2508, allocations: 88.95 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2509, allocations: 4 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.2509, allocations: 0 / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.2509, allocations: 3.984 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2509, allocations: 8 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.251, allocations: 91.27 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.251, allocations: 0 / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001964/0.2512, allocations: 24 kB / 0.9849 GB, free: 22.06 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.0001326/0.2513, allocations: 107.2 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2515, allocations: 131.3 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2515, allocations: 0 / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.2516, allocations: 19.98 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2518, allocations: 19.92 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2521, allocations: 162.4 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2522, allocations: 0.6859 MB / 0.986 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2523, allocations: 7.984 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.2523, allocations: 7.438 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2523, allocations: 0 / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.003422/0.2557, allocations: 1.263 MB / 0.9873 GB, free: 19.61 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)