Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.257/3.257, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001685/0.001685, allocations: 182.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.614/2.614, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001114/0.001113, allocations: 94.25 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005204/0.0005205, allocations: 14.95 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2456, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001282/0.2469, allocations: 445.7 kB / 0.9787 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.2492, allocations: 1.091 MB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.2493, allocations: 4 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2494, allocations: 3.938 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.2495, allocations: 11.98 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.2503, allocations: 106.8 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.2505, allocations: 59.81 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.2506, allocations: 11.98 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2508, allocations: 35.91 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.2509, allocations: 31.89 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.251, allocations: 4 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.2511, allocations: 15.98 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.2511, allocations: 15.92 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.2512, allocations: 33.7 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2515, allocations: 95.98 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2515, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2515, allocations: 0 / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2515, allocations: 0 / 0.9801 GB, free: 26.39 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.0005482/0.2521, allocations: 380.9 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.2522, allocations: 12.03 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.2523, allocations: 4 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.2524, allocations: 174.9 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.2525, allocations: 12 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.2526, allocations: 4 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.2527, allocations: 45.62 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.2528, allocations: 7.969 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2528, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.2528, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.2529, allocations: 12 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.2536, allocations: 336.8 kB / 0.9811 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.832e-05/0.2537, allocations: 26.52 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2537, allocations: 4.062 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2539, allocations: 67.38 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.105e-06/0.254, allocations: 0 / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003376/0.2543, allocations: 77.53 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.2544, allocations: 55.34 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2546, allocations: 134.1 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.2546, allocations: 33.64 kB / 0.9815 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.2547, allocations: 92.14 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2548, allocations: 3.906 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.2548, allocations: 4 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.2549, allocations: 318.8 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2551, allocations: 39.98 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.2554, allocations: 50.56 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.2556, allocations: 65.69 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2556, allocations: 0 / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006187/0.2563, allocations: 171.3 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-05/0.2563, allocations: 33.69 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.2564, allocations: 4 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.2564, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.417e-05/0.2565, allocations: 7.938 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2565, allocations: 4.062 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.2571, allocations: 35.97 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2572, allocations: 15.94 kB / 0.9823 GB, free: 23.95 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 0.0001483/0.2573, allocations: 113.8 kB / 0.9824 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.2574, allocations: 11.91 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.2574, allocations: 3.906 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2575, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2575, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2575, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.2577, allocations: 185.6 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2577, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2578, allocations: 0 / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.2578, allocations: 4 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2578, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2578, allocations: 4 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2578, allocations: 0 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.2581, allocations: 100.9 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2582, allocations: 84.98 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2582, allocations: 288 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.2583, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.2583, allocations: 7.984 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2584, allocations: 0 / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001285/0.2585, allocations: 107.3 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2585, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000572/0.2591, allocations: 19.94 kB / 0.9829 GB, free: 23.23 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.0002161/0.2593, allocations: 107.2 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.2598, allocations: 135.3 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2599, allocations: 0 / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.26, allocations: 19.98 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.2604, allocations: 24.06 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.2609, allocations: 150.8 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2611, allocations: 0.6848 MB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.428e-05/0.2611, allocations: 8.188 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2612, allocations: 11.44 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.565e-06/0.2612, allocations: 0 / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.006737/0.268, allocations: 1.235 MB / 0.9852 GB, free: 20.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)