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 2.854/2.854, allocations: 287.5 MB / 302.4 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.001397/0.001397, allocations: 181.2 kB / 371 MB, free: 10.89 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.274/2.274, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009529/0.0009529, allocations: 86.34 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005409, allocations: 12.66 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.233, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0008429/0.2339, allocations: 317.9 kB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.124e-05/0.2339, allocations: 4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.234, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.234, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.281e-05/0.234, allocations: 4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.738e-05/0.2341, allocations: 4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.2341, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.579e-05/0.2342, allocations: 0 / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.2342, allocations: 7.922 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.686e-05/0.2343, allocations: 0 / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2343, allocations: 4 kB / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.727e-06/0.2343, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.2343, allocations: 0 / 0.9787 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.2343, allocations: 25.7 kB / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.722e-05/0.2344, allocations: 0 / 0.9787 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2344, allocations: 7.984 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2344, allocations: 0 / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2344, allocations: 0 / 0.9787 GB, free: 27.98 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.0002295/0.2347, allocations: 311.4 kB / 0.979 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2347, allocations: 8.031 kB / 0.979 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.2348, allocations: 0 / 0.979 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.2349, allocations: 163 kB / 0.9792 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2349, allocations: 4 kB / 0.9792 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.2349, allocations: 0 / 0.9792 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.235, allocations: 37.62 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.235, allocations: 0 / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-06/0.235, allocations: 3.938 kB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.235, allocations: 0 / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.2351, allocations: 7.938 kB / 0.9793 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.2353, allocations: 383.5 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.2354, allocations: 173.1 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.2354, allocations: 84.14 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2354, allocations: 75.28 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.2355, allocations: 105.8 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.2355, allocations: 0 / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.244e-05/0.2356, allocations: 33.61 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.2356, allocations: 130.7 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.2357, allocations: 97.84 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.2357, allocations: 25.7 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/0.2358, allocations: 88.08 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.2358, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.2358, allocations: 0 / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.2359, allocations: 318.8 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.2359, allocations: 0 / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/0.2359, allocations: 4.125 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.904e-05/0.2359, allocations: 75.28 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.2359, allocations: 75.28 kB / 0.9808 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.765e-05/0.236, allocations: 29.7 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.236, allocations: 79.28 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.2361, allocations: 83.22 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.039e-05/0.2361, allocations: 154.6 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.697e-05/0.2362, allocations: 83.27 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.2362, allocations: 158.5 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.2363, allocations: 79.28 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2363, allocations: 79.22 kB / 0.9816 GB, free: 24.87 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 7.744e-05/0.2364, allocations: 260.4 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.2364, allocations: 101 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.2365, allocations: 120.1 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/0.2365, allocations: 181.1 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/0.2366, allocations: 176.3 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/0.2366, allocations: 184.2 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.2368, allocations: 405.2 kB / 0.9829 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.2368, allocations: 108.9 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.2369, allocations: 101 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.631e-05/0.2369, allocations: 188.2 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.2369, allocations: 184.5 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-05/0.237, allocations: 176.3 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-05/0.237, allocations: 180.2 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/0.2371, allocations: 315.8 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.2372, allocations: 194 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.2373, allocations: 176.3 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.2374, allocations: 108.9 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.2374, allocations: 180.3 kB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.2375, allocations: 105 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.2375, allocations: 79.27 kB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2375, allocations: 0 / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002986/0.2378, allocations: 0 / 0.9849 GB, free: 21.2 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.0001259/0.238, allocations: 178.5 kB / 0.9851 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.025e-05/0.238, allocations: 4.094 kB / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.238, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.238, allocations: 0 / 0.9851 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2384, allocations: 0.5295 MB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.2386, allocations: 150 kB / 0.9858 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.2387, allocations: 0.6731 MB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.057e-06/0.2388, allocations: 0 / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.2388, allocations: 7.438 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.575e-06/0.2388, allocations: 0 / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.002157/0.241, allocations: 164 kB / 0.9866 GB, free: 19.44 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)