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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001125/0.001125, allocations: 181.6 kB / 371.6 MB, free: 3.453 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.924/1.924, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 89.55 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.384e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8485/1.127, allocations: 138 MB / 1.115 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/1.127, allocations: 62.33 kB / 1.115 GB, free: 45.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0003619/1.128, allocations: 378.3 kB / 1.115 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/1.128, allocations: 0 / 1.115 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.128, allocations: 1 kB / 1.115 GB, free: 44.95 MB / 0.7448 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.0001865/1.128, allocations: 302.6 kB / 1.115 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.128, allocations: 9.125 kB / 1.115 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/1.128, allocations: 5.141 kB / 1.115 GB, free: 44.6 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/1.128, allocations: 160.4 kB / 1.115 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/1.128, allocations: 0.6562 kB / 1.115 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/1.128, allocations: 7.891 kB / 1.115 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.621e-05/1.128, allocations: 30.45 kB / 1.115 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/1.128, allocations: 0 / 1.115 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.128, allocations: 1.234 kB / 1.115 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/1.128, allocations: 3.391 kB / 1.115 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/1.128, allocations: 4.531 kB / 1.115 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/1.128, allocations: 384.7 kB / 1.116 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/1.128, allocations: 175.1 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/1.128, allocations: 80.77 kB / 1.116 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/1.129, allocations: 75.94 kB / 1.116 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.129, allocations: 110 kB / 1.116 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/1.129, allocations: 0.7812 kB / 1.116 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.897e-05/1.129, allocations: 29.52 kB / 1.116 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/1.129, allocations: 131.2 kB / 1.116 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/1.129, allocations: 90.97 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/1.129, allocations: 30.2 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/1.129, allocations: 84.14 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.129, allocations: 3.438 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.129, allocations: 0 / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/1.129, allocations: 314.8 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-06/1.129, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-06/1.129, allocations: 4.125 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.533e-05/1.129, allocations: 75.28 kB / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.129, allocations: 75.28 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.076e-05/1.129, allocations: 38.2 kB / 1.117 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.129, allocations: 79.28 kB / 1.117 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.129, allocations: 79.22 kB / 1.117 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/1.129, allocations: 154.6 kB / 1.117 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.229e-05/1.129, allocations: 76.69 kB / 1.117 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.129, allocations: 158.8 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/1.129, allocations: 79.41 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/1.129, allocations: 83.22 kB / 1.118 GB, free: 41.92 MB / 0.7448 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 () * 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 5.372e-05/1.129, allocations: 261.5 kB / 1.118 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/1.129, allocations: 101 kB / 1.118 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/1.129, allocations: 112 kB / 1.118 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.129, allocations: 184.9 kB / 1.118 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/1.129, allocations: 180.8 kB / 1.119 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.666e-05/1.129, allocations: 184 kB / 1.119 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/1.13, allocations: 404.6 kB / 1.119 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.13, allocations: 104.9 kB / 1.119 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/1.13, allocations: 102.2 kB / 1.119 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.651e-05/1.13, allocations: 183.4 kB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/1.13, allocations: 188 kB / 1.12 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-05/1.13, allocations: 176.8 kB / 1.12 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-05/1.13, allocations: 180.2 kB / 1.12 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.6e-05/1.13, allocations: 311.3 kB / 1.12 GB, free: 39.17 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/1.13, allocations: 182 kB / 1.121 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/1.13, allocations: 180.3 kB / 1.121 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/1.13, allocations: 112.1 kB / 1.121 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/1.13, allocations: 178.5 kB / 1.121 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/1.13, allocations: 102 kB / 1.121 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.833e-05/1.13, allocations: 83.28 kB / 1.121 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.282e-06/1.13, allocations: 0 / 1.121 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002261/1.13, allocations: 3.938 kB / 1.121 GB, free: 38.3 MB / 0.7448 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 () * 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.0001135/1.13, allocations: 177.6 kB / 1.121 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 2.665e-05/1.13, allocations: 4.484 kB / 1.121 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.13, allocations: 0 / 1.121 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/1.13, allocations: 7.406 kB / 1.121 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/1.131, allocations: 0.5181 MB / 1.122 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001185/1.131, allocations: 124.7 kB / 1.122 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/1.131, allocations: 0.6765 MB / 1.123 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.81e-06/1.131, allocations: 0 / 1.123 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/1.131, allocations: 7.438 kB / 1.123 GB, free: 36.75 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/1.131, allocations: 7.938 kB / 1.123 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.001406/1.132, allocations: 169 kB / 1.123 GB, free: 36.65 MB / 0.7448 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)