Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 107.7 kB / 16.37 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 185.8 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 71.19 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002382/0.2698, allocations: 0.5531 MB / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 3.985e-05/0.2699, allocations: 0 / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.2699, allocations: 0 / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.27, allocations: 3.938 kB / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.27, allocations: 4 kB / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.739e-05/0.2701, allocations: 0 / 0.7854 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.486e-05/0.2701, allocations: 4 kB / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.2702, allocations: 4 kB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.2702, allocations: 0 / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.2702, allocations: 3.938 kB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2702, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.2703, allocations: 0 / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.2703, allocations: 4 kB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.2703, allocations: 0 / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.113e-05/0.2704, allocations: 7.984 kB / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2704, allocations: 0 / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2704, allocations: 0 / 0.7854 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2704, allocations: 0 / 0.7854 GB, free: 2.559 MB / 0.6544 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.0003489/0.2708, allocations: 311.6 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.2708, allocations: 8.031 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.2708, allocations: 0.9375 kB / 0.7857 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.271, allocations: 172.4 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.271, allocations: 384 / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.271, allocations: 384 / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.2711, allocations: 34.2 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2711, allocations: 4.125 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2711, allocations: 7.938 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2712, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.2712, allocations: 0 / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.2716, allocations: 379.5 kB / 0.7863 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.2717, allocations: 181 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.2717, allocations: 84.08 kB / 0.7865 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.2718, allocations: 79.28 kB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.2718, allocations: 109.9 kB / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.2718, allocations: 0 / 0.7867 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.799e-05/0.2719, allocations: 25.7 kB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.272, allocations: 134.6 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2721, allocations: 97.84 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.2721, allocations: 25.7 kB / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.2722, allocations: 84.14 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.2722, allocations: 0 / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.2722, allocations: 9.719 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2723, allocations: 314.8 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-06/0.2723, allocations: 4.125 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-06/0.2723, allocations: 0 / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.2724, allocations: 75.28 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.592e-05/0.2724, allocations: 75.28 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.426e-05/0.2725, allocations: 37.55 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.2725, allocations: 83.27 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.502/0.7745, allocations: 78.09 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.489e-05/0.7747, allocations: 151.4 kB / 0.7878 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.72e-05/0.7747, allocations: 81.03 kB / 0.7879 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.7747, allocations: 156.6 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.7748, allocations: 80.09 kB / 0.7881 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.7748, allocations: 76.88 kB / 0.7882 GB, free: 48.05 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.775, allocations: 265.9 kB / 0.7885 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.775, allocations: 103.3 kB / 0.7886 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.7751, allocations: 109.9 kB / 0.7887 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.7751, allocations: 180.8 kB / 0.7888 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-05/0.7752, allocations: 188.3 kB / 0.789 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.359e-05/0.7752, allocations: 179.7 kB / 0.7892 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.7754, allocations: 408.7 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.7754, allocations: 108.6 kB / 0.7897 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.7754, allocations: 106 kB / 0.7898 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/0.7755, allocations: 183.8 kB / 0.79 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.7755, allocations: 178.8 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-05/0.7755, allocations: 179.5 kB / 0.7903 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-05/0.7756, allocations: 182.6 kB / 0.7905 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.222e-05/0.7756, allocations: 309.2 kB / 0.7908 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.7757, allocations: 184.2 kB / 0.791 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.7757, allocations: 177.8 kB / 0.7911 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.628e-05/0.7758, allocations: 107.6 kB / 0.7912 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.7758, allocations: 184 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.7759, allocations: 107.1 kB / 0.7915 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.7759, allocations: 80.89 kB / 0.7916 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7759, allocations: 0 / 0.7916 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002961/0.7762, allocations: 0 / 0.7916 GB, free: 44.51 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.7763, allocations: 176 kB / 0.7917 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.7764, allocations: 1.125 kB / 0.7917 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7764, allocations: 3.281 kB / 0.7918 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7764, allocations: 0.5625 kB / 0.7918 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.7767, allocations: 466.9 kB / 0.7922 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.7769, allocations: 175.1 kB / 0.7924 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7771, allocations: 0.6733 MB / 0.793 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.7771, allocations: 7.938 kB / 0.793 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7771, allocations: 2.188 kB / 0.793 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.001377/0.7785, allocations: 322.8 kB / 0.7933 GB, free: 43.01 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)