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.0007634/0.0007634, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0007852/0.0007853, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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.677/1.677, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005008/0.000501, allocations: 17.59 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0008285/0.2497, allocations: 274 kB / 0.7876 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.141e-05/0.2498, allocations: 7.984 kB / 0.7876 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.2498, allocations: 0 / 0.7876 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.2498, allocations: 0 / 0.7876 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.471e-05/0.2499, allocations: 3.938 kB / 0.7876 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.077e-05/0.2499, allocations: 0 / 0.7876 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.25, allocations: 3.938 kB / 0.7876 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.25, allocations: 4 kB / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.2501, allocations: 4 kB / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.014e-05/0.2501, allocations: 0 / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2501, allocations: 0 / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.2501, allocations: 0 / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.2501, allocations: 4 kB / 0.7876 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.2502, allocations: 25.7 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.386e-05/0.2502, allocations: 3.984 kB / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2502, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2502, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2502, allocations: 4 kB / 0.7876 GB, free: 11.6 MB / 0.6075 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.0002912/0.2505, allocations: 307.4 kB / 0.7879 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2506, allocations: 8.094 kB / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.2506, allocations: 0 / 0.7879 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2507, allocations: 171 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2508, allocations: 3.938 kB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2508, allocations: 3.938 kB / 0.7881 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.2509, allocations: 25.7 kB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2509, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.2509, allocations: 8 kB / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2509, allocations: 0 / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.2509, allocations: 4 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.2513, allocations: 383.5 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.2514, allocations: 169.1 kB / 0.7887 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.2514, allocations: 84.14 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.2515, allocations: 75.28 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.2515, allocations: 109.9 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.2515, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.216e-05/0.2516, allocations: 33.55 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.2517, allocations: 130.7 kB / 0.7891 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.2518, allocations: 105.8 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.2518, allocations: 25.7 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.2518, allocations: 80.14 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.2518, allocations: 0 / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-06/0.2518, allocations: 0 / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.252, allocations: 318.8 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.252, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.252, allocations: 4 kB / 0.7896 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.252, allocations: 75.28 kB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-05/0.2521, allocations: 79.41 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.278e-05/0.2521, allocations: 29.69 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.2522, allocations: 87.28 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.2522, allocations: 79.22 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.588e-05/0.2523, allocations: 150.6 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.253e-05/0.2523, allocations: 79.22 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.471e-05/0.2523, allocations: 158.6 kB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.073e-05/0.2524, allocations: 75.28 kB / 0.7904 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.2525, allocations: 83.17 kB / 0.7904 GB, free: 8.484 MB / 0.6075 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.0001115/0.2526, allocations: 265 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.2526, allocations: 105 kB / 0.7908 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.2527, allocations: 109.1 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.2528, allocations: 180.3 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/0.2528, allocations: 184.2 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/0.2529, allocations: 180.2 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.2531, allocations: 401.2 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-05/0.2531, allocations: 104.9 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.2532, allocations: 117 kB / 0.792 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-05/0.2533, allocations: 184.2 kB / 0.7922 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.2533, allocations: 180.5 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.879e-05/0.2534, allocations: 180.3 kB / 0.7925 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.117e-05/0.2535, allocations: 184.2 kB / 0.7927 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2536, allocations: 319.8 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.773e-05/0.2537, allocations: 182.1 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.2538, allocations: 176.3 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.2539, allocations: 104.9 kB / 0.7935 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.254, allocations: 184.2 kB / 0.7936 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.254, allocations: 108.9 kB / 0.7937 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.2541, allocations: 79.28 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2541, allocations: 4 kB / 0.7938 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000246/0.2543, allocations: 0 / 0.7938 GB, free: 4.801 MB / 0.6075 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.00016/0.2545, allocations: 170.5 kB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 3.021e-05/0.2545, allocations: 3.938 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2545, allocations: 96 / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2545, allocations: 4 kB / 0.794 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2549, allocations: 0.5266 MB / 0.7945 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.2551, allocations: 154 kB / 0.7946 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2554, allocations: 0.6692 MB / 0.7953 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.234e-06/0.2554, allocations: 4 kB / 0.7953 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.438e-05/0.2554, allocations: 7.438 kB / 0.7953 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2554, allocations: 0 / 0.7953 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.001734/0.2572, allocations: 159.2 kB / 0.7955 GB, free: 3.043 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: