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.Constant.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.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.796/1.796, allocations: 287.5 MB / 302.6 MB, free: 8.355 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.001092/0.001092, allocations: 178.1 kB / 371.2 MB, free: 10.83 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.71/1.71, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009367/0.0009366, allocations: 109.7 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 12.41 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2559, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.000731/0.2567, allocations: 306 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.407e-05/0.2567, allocations: 7.938 kB / 0.979 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.2568, allocations: 3.938 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.2568, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.2568, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.842e-05/0.2569, allocations: 7.984 kB / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.65e-05/0.2569, allocations: 0 / 0.979 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.257, allocations: 4 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.396e-05/0.257, allocations: 0 / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.108e-05/0.257, allocations: 0 / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2571, allocations: 4 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.2571, allocations: 0 / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.2571, allocations: 3.938 kB / 0.979 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.2571, allocations: 25.7 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.27e-05/0.2572, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2572, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2572, allocations: 0 / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.2572, allocations: 0 / 0.9791 GB, free: 27.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002361/0.2574, allocations: 319.6 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2575, allocations: 8.031 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.2575, allocations: 0.9375 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.218e-05/0.2576, allocations: 160.4 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2576, allocations: 4.375 kB / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.2576, allocations: 384 / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.2577, allocations: 26.27 kB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2577, allocations: 192 / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2577, allocations: 7.938 kB / 0.9796 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2577, allocations: 0 / 0.9796 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.2578, allocations: 15.86 kB / 0.9796 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002398/0.258, allocations: 379.5 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.2581, allocations: 177.1 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2581, allocations: 84.14 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2581, allocations: 75.28 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2581, allocations: 109.8 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2581, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.825e-05/0.2582, allocations: 33.73 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2583, allocations: 126.7 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.2583, allocations: 101.9 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.702e-06/0.2583, allocations: 25.7 kB / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.2584, allocations: 80.14 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-06/0.2584, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.2584, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.2584, allocations: 314.8 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.2584, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.2584, allocations: 3.938 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.292e-05/0.2585, allocations: 75.28 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.2585, allocations: 79.41 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.666e-05/0.2585, allocations: 37.58 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2586, allocations: 79.28 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.2586, allocations: 79.28 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.2586, allocations: 158.5 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.06e-05/0.2586, allocations: 75.28 kB / 0.9816 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.2587, allocations: 158.5 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.2587, allocations: 83.22 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2587, allocations: 75.28 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.409e-05/0.2588, allocations: 260.3 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.2588, allocations: 108.9 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.2589, allocations: 108.1 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.2589, allocations: 188.2 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.781e-05/0.2589, allocations: 177.1 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-05/0.259, allocations: 180.3 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2591, allocations: 409.1 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.2591, allocations: 101 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.2592, allocations: 112.9 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/0.2592, allocations: 184.2 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2592, allocations: 176.3 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.868e-05/0.2593, allocations: 188.5 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.522e-05/0.2593, allocations: 180.3 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.625e-05/0.2594, allocations: 311.8 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.2594, allocations: 186.1 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.2594, allocations: 184.2 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.2595, allocations: 101 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.2595, allocations: 180.2 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2596, allocations: 109 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.2596, allocations: 75.28 kB / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2596, allocations: 0 / 0.9852 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002856/0.2599, allocations: 0 / 0.9852 GB, free: 21.01 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001064/0.26, allocations: 178.5 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.2601, allocations: 0 / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2601, allocations: 4 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.2601, allocations: 8.031 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2603, allocations: 0.5226 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.2605, allocations: 146 kB / 0.9861 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2606, allocations: 0.677 MB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.558e-06/0.2607, allocations: 0 / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.2607, allocations: 15.38 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2607, allocations: 0 / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.001564/0.2622, allocations: 158.2 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)