Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.6/2.6, allocations: 284.8 MB / 297.3 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001387, allocations: 176.8 kB / 365.7 MB, free: 2.598 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 0.6241 GB, free: 8.188 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 100.3 kB / 0.7372 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.682e-05, allocations: 4 kB / 0.8575 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8122, allocations: 115.2 MB / 0.97 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.237/1.049, allocations: 136.8 MB / 1.104 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.05, allocations: 67.95 kB / 1.104 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.000571/1.05, allocations: 367.5 kB / 1.104 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/1.05, allocations: 0 / 1.104 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.07e-05/1.05, allocations: 5.312 kB / 1.104 GB, free: 15.17 MB / 0.7136 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.0002637/1.051, allocations: 311.1 kB / 1.104 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.051, allocations: 9.25 kB / 1.104 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/1.051, allocations: 4.516 kB / 1.104 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/1.051, allocations: 171 kB / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.051, allocations: 1.438 kB / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/1.051, allocations: 0 / 1.105 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.608e-05/1.051, allocations: 25.7 kB / 1.105 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.051, allocations: 1.25 kB / 1.105 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.051, allocations: 7.828 kB / 1.105 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.051, allocations: 0 / 1.105 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/1.051, allocations: 1.844 kB / 1.105 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/1.051, allocations: 384.6 kB / 1.105 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/1.052, allocations: 170.3 kB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/1.052, allocations: 85.05 kB / 1.105 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/1.052, allocations: 76.22 kB / 1.105 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/1.052, allocations: 110.5 kB / 1.105 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/1.052, allocations: 4 kB / 1.105 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.268e-05/1.052, allocations: 33.2 kB / 1.105 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.052, allocations: 128.3 kB / 1.106 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/1.052, allocations: 89 kB / 1.106 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.052, allocations: 25.7 kB / 1.106 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/1.052, allocations: 86.8 kB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-06/1.052, allocations: 0 / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-07/1.052, allocations: 0 / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.052, allocations: 314.8 kB / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/1.052, allocations: 0 / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-06/1.052, allocations: 0 / 1.106 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/1.052, allocations: 80 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.249e-05/1.052, allocations: 75.91 kB / 1.106 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.684e-05/1.052, allocations: 29.69 kB / 1.106 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/1.053, allocations: 84.47 kB / 1.106 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/1.053, allocations: 79.22 kB / 1.106 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-05/1.053, allocations: 152.3 kB / 1.106 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/1.053, allocations: 80.88 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.919e-05/1.053, allocations: 154.6 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-05/1.053, allocations: 80.78 kB / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/1.053, allocations: 79.22 kB / 1.107 GB, free: 12.11 MB / 0.7136 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 0.0001356/1.053, allocations: 263.5 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/1.053, allocations: 108 kB / 1.107 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/1.053, allocations: 109.6 kB / 1.107 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.897e-05/1.053, allocations: 176.6 kB / 1.107 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.29e-05/1.053, allocations: 192.1 kB / 1.108 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.427e-05/1.053, allocations: 184.8 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/1.054, allocations: 401 kB / 1.108 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-05/1.054, allocations: 107.4 kB / 1.108 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/1.054, allocations: 113 kB / 1.108 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.673e-05/1.054, allocations: 180.2 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/1.054, allocations: 176.3 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.879e-05/1.054, allocations: 181.9 kB / 1.109 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.188e-05/1.054, allocations: 184.2 kB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/1.054, allocations: 312.5 kB / 1.109 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.055, allocations: 182.1 kB / 1.11 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/1.055, allocations: 180.3 kB / 1.11 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/1.055, allocations: 108.9 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/1.055, allocations: 184.3 kB / 1.11 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/1.055, allocations: 104.9 kB / 1.11 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.259e-05/1.055, allocations: 75.28 kB / 1.11 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.055, allocations: 0 / 1.11 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000297/1.055, allocations: 4 kB / 1.11 GB, free: 8.457 MB / 0.7136 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.0001818/1.056, allocations: 174.6 kB / 1.11 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.59e-05/1.056, allocations: 4.484 kB / 1.11 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.056, allocations: 0 / 1.11 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/1.056, allocations: 0 / 1.11 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/1.056, allocations: 0.5316 MB / 1.111 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/1.056, allocations: 126.6 kB / 1.111 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.057, allocations: 0.6731 MB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.775e-05/1.057, allocations: 3.984 kB / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/1.057, allocations: 7.438 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.057, allocations: 0 / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.00231/1.059, allocations: 168.8 kB / 1.112 GB, free: 6.742 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)