Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.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.65/1.65, allocations: 289.7 MB / 302.2 MB, free: 2.062 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.001121/0.001121, allocations: 181.4 kB / 371.6 MB, free: 3.379 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.669/1.669, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009368/0.0009372, allocations: 91.22 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.565e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3162, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9733/1.29, allocations: 138 MB / 1.115 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.29, allocations: 66.41 kB / 1.115 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005714/1.29, allocations: 370.1 kB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/1.291, allocations: 0 / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.291, allocations: 0.6562 kB / 1.115 GB, free: 44.83 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.0002188/1.291, allocations: 306.5 kB / 1.115 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/1.291, allocations: 8.625 kB / 1.115 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/1.291, allocations: 6 kB / 1.115 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/1.291, allocations: 159.7 kB / 1.115 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.291, allocations: 4.594 kB / 1.115 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/1.291, allocations: 3.922 kB / 1.115 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/1.291, allocations: 30.48 kB / 1.115 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.291, allocations: 0 / 1.115 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/1.291, allocations: 0.7188 kB / 1.115 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.291, allocations: 0.7969 kB / 1.115 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/1.291, allocations: 4.562 kB / 1.115 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/1.292, allocations: 388 kB / 1.116 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/1.292, allocations: 174.2 kB / 1.116 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/1.292, allocations: 80.14 kB / 1.116 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/1.292, allocations: 75.94 kB / 1.116 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.292, allocations: 111.8 kB / 1.116 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/1.292, allocations: 1.172 kB / 1.116 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.324e-05/1.292, allocations: 32.3 kB / 1.116 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.292, allocations: 128.9 kB / 1.116 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/1.292, allocations: 92.44 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/1.292, allocations: 29.09 kB / 1.117 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/1.292, allocations: 80.14 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/1.292, allocations: 0.5625 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-06/1.292, allocations: 128 / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/1.292, allocations: 322.7 kB / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-06/1.292, allocations: 0 / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/1.292, allocations: 0 / 1.117 GB, free: 42.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/1.292, allocations: 78.66 kB / 1.117 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/1.292, allocations: 82.53 kB / 1.117 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.536e-05/1.292, allocations: 27.73 kB / 1.117 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.292, allocations: 79.28 kB / 1.117 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.292, allocations: 83.22 kB / 1.117 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.086e-05/1.292, allocations: 154.6 kB / 1.117 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/1.292, allocations: 75.28 kB / 1.117 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/1.292, allocations: 158.5 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/1.293, allocations: 81.97 kB / 1.118 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/1.293, allocations: 79.22 kB / 1.118 GB, free: 41.8 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 6.131e-05/1.293, allocations: 260.2 kB / 1.118 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/1.293, allocations: 101 kB / 1.118 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/1.293, allocations: 108.1 kB / 1.118 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/1.293, allocations: 186.9 kB / 1.118 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/1.293, allocations: 181.6 kB / 1.119 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/1.293, allocations: 180.2 kB / 1.119 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/1.293, allocations: 411.9 kB / 1.119 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.293, allocations: 101.8 kB / 1.119 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/1.293, allocations: 105.5 kB / 1.119 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/1.293, allocations: 183.7 kB / 1.12 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/1.293, allocations: 180.2 kB / 1.12 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-05/1.293, allocations: 183.4 kB / 1.12 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.385e-05/1.293, allocations: 180.8 kB / 1.12 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/1.293, allocations: 307.5 kB / 1.12 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/1.293, allocations: 188.9 kB / 1.121 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/1.293, allocations: 180.3 kB / 1.121 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/1.293, allocations: 105.1 kB / 1.121 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/1.294, allocations: 182 kB / 1.121 GB, free: 38.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.294, allocations: 108.4 kB / 1.121 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.34e-05/1.294, allocations: 75.28 kB / 1.121 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.294, allocations: 0 / 1.121 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002268/1.294, allocations: 0 / 1.121 GB, free: 38.18 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.0001466/1.294, allocations: 180.3 kB / 1.121 GB, free: 38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.016e-05/1.294, allocations: 8.422 kB / 1.121 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.294, allocations: 0.6562 kB / 1.121 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.294, allocations: 0 / 1.121 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/1.294, allocations: 0.5287 MB / 1.122 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/1.294, allocations: 116.3 kB / 1.122 GB, free: 37.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/1.295, allocations: 0.6765 MB / 1.123 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.548e-05/1.295, allocations: 2.953 kB / 1.123 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/1.295, allocations: 8.469 kB / 1.123 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.295, allocations: 0 / 1.123 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.001936/1.297, allocations: 167.4 kB / 1.123 GB, free: 36.53 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)