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 3.349/3.349, allocations: 287.3 MB / 302.3 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.002259/0.002259, allocations: 187.2 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.815/2.815, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.002018/0.002018, allocations: 97.12 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006924, allocations: 14.16 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2262, allocations: 115.3 MB / 0.9782 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001118/0.2274, allocations: 320.2 kB / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 5.104e-05/0.2275, allocations: 0 / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.2275, allocations: 0 / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.2276, allocations: 0 / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.423e-05/0.2276, allocations: 0 / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.176e-05/0.2277, allocations: 0 / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.2278, allocations: 4 kB / 0.9785 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.553e-05/0.2279, allocations: 4 kB / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.2279, allocations: 3.938 kB / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.183e-05/0.2279, allocations: 0 / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.228, allocations: 0 / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.228, allocations: 0 / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.228, allocations: 0 / 0.9785 GB, free: 28.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.2281, allocations: 25.7 kB / 0.9786 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.266e-05/0.2281, allocations: 3.984 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2282, allocations: 8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2282, allocations: 4 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2282, allocations: 0 / 0.9786 GB, free: 27.97 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.0002919/0.2285, allocations: 305.4 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.2286, allocations: 8.094 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.2287, allocations: 4 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.229, allocations: 163 kB / 0.979 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.229, allocations: 3.984 kB / 0.979 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.229, allocations: 0 / 0.979 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2291, allocations: 29.64 kB / 0.9791 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2292, allocations: 8 kB / 0.9791 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2292, allocations: 0 / 0.9791 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2292, allocations: 0 / 0.9791 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.2293, allocations: 0 / 0.9791 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2296, allocations: 389.1 kB / 0.9794 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.001e-05/0.2297, allocations: 177 kB / 0.9796 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2298, allocations: 79.28 kB / 0.9797 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2298, allocations: 113.9 kB / 0.9798 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.003e-06/0.2298, allocations: 0 / 0.9798 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.2299, allocations: 29.61 kB / 0.9798 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.23, allocations: 126.7 kB / 0.9799 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2301, allocations: 105.8 kB / 0.98 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2302, allocations: 25.7 kB / 0.9801 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.2302, allocations: 80.14 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.2302, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-07/0.2302, allocations: 0 / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.2303, allocations: 314.8 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.142e-06/0.2304, allocations: 3.938 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-06/0.2304, allocations: 0 / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.2304, allocations: 79.28 kB / 0.9805 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.2304, allocations: 79.41 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.419e-05/0.2306, allocations: 25.7 kB / 0.9806 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.2306, allocations: 83.28 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.2307, allocations: 79.22 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.539e-05/0.2307, allocations: 158.6 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-05/0.2308, allocations: 79.28 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/0.2308, allocations: 158.5 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.231, allocations: 79.28 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.231, allocations: 79.22 kB / 0.9813 GB, free: 24.95 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 0.0001013/0.2311, allocations: 260.4 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.2312, allocations: 105 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.2313, allocations: 112.1 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.267e-05/0.2313, allocations: 185.2 kB / 0.9819 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-05/0.2314, allocations: 176.3 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.2314, allocations: 184.2 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.2317, allocations: 405.2 kB / 0.9827 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.2318, allocations: 105 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.2318, allocations: 108.9 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-05/0.2319, allocations: 180.3 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.2319, allocations: 184.2 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.173e-05/0.232, allocations: 180.5 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-05/0.2321, allocations: 184.3 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.2322, allocations: 315.8 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.2323, allocations: 186 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.2324, allocations: 180.3 kB / 0.9842 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.2325, allocations: 101 kB / 0.9843 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.2326, allocations: 184.2 kB / 0.9845 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.2326, allocations: 108.9 kB / 0.9846 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.2327, allocations: 79.28 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2327, allocations: 0 / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006017/0.2333, allocations: 4 kB / 0.9847 GB, free: 21.27 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.0001794/0.2335, allocations: 170.5 kB / 0.9848 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.887e-05/0.2336, allocations: 3.938 kB / 0.9848 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2336, allocations: 0 / 0.9848 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.2336, allocations: 4.094 kB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.234, allocations: 0.5266 MB / 0.9854 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.2342, allocations: 155.9 kB / 0.9855 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2344, allocations: 0.6731 MB / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.179e-05/0.2344, allocations: 0 / 0.9862 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.2345, allocations: 11.44 kB / 0.9862 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2345, allocations: 0 / 0.9862 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003051/0.2376, allocations: 156.2 kB / 0.9863 GB, free: 19.52 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)