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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001079/0.001079, allocations: 183.7 kB / 377.1 MB, free: 1.531 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.686/1.686, allocations: 205.4 MB / 0.6366 GB, free: 9.438 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.0009739/0.0009738, allocations: 85.19 kB / 0.7509 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 12 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8616/1.152, allocations: 138.1 MB / 1.123 GB, free: 36.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.152, allocations: 71.67 kB / 1.123 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005022/1.153, allocations: 378.6 kB / 1.124 GB, free: 35.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.665e-06/1.153, allocations: 0 / 1.124 GB, free: 35.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.153, allocations: 0 / 1.124 GB, free: 35.92 MB / 0.7292 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.0002499/1.153, allocations: 310.5 kB / 1.124 GB, free: 35.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.153, allocations: 16.08 kB / 1.124 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/1.153, allocations: 32.03 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/1.153, allocations: 2.062 kB / 1.124 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.395e-05/1.153, allocations: 162.6 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.153, allocations: 1.938 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/1.153, allocations: 1.703 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/1.153, allocations: 34.31 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.153, allocations: 0 / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/1.153, allocations: 0.6875 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/1.153, allocations: 1.719 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.102e-05/1.153, allocations: 5.547 kB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/1.154, allocations: 384.8 kB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/1.154, allocations: 170.3 kB / 1.125 GB, free: 34.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.154, allocations: 78.12 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.154, allocations: 105.8 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 3.076e-06/1.154, allocations: 0 / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.103e-05/1.154, allocations: 35.75 kB / 1.125 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.154, allocations: 132.4 kB / 1.125 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/1.154, allocations: 93 kB / 1.125 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/1.154, allocations: 25.7 kB / 1.125 GB, free: 34.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.726e-05/1.154, allocations: 80.14 kB / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.154, allocations: 0 / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/1.154, allocations: 0 / 1.125 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/1.154, allocations: 322.9 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-06/1.154, allocations: 2.406 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-06/1.154, allocations: 0 / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.557e-05/1.154, allocations: 79.31 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/1.154, allocations: 75.28 kB / 1.126 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.323e-05/1.154, allocations: 33.64 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.154, allocations: 79.28 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.154, allocations: 79.28 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/1.154, allocations: 158.5 kB / 1.126 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.28e-05/1.154, allocations: 80.59 kB / 1.126 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/1.154, allocations: 154 kB / 1.126 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/1.154, allocations: 79.22 kB / 1.126 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/1.154, allocations: 75.28 kB / 1.126 GB, free: 32.91 MB / 0.7292 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 6.635e-05/1.155, allocations: 272.4 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/1.155, allocations: 109.4 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/1.155, allocations: 107.6 kB / 1.127 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/1.155, allocations: 180.6 kB / 1.127 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/1.155, allocations: 180.9 kB / 1.127 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/1.155, allocations: 180.3 kB / 1.127 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.155, allocations: 417.1 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.155, allocations: 101 kB / 1.128 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.648e-05/1.155, allocations: 101.5 kB / 1.128 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.437e-05/1.155, allocations: 184 kB / 1.128 GB, free: 31.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/1.155, allocations: 184.3 kB / 1.128 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-05/1.155, allocations: 189 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.938e-05/1.155, allocations: 176.3 kB / 1.129 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.546e-05/1.155, allocations: 308.3 kB / 1.129 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/1.155, allocations: 182.6 kB / 1.129 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/1.155, allocations: 186.3 kB / 1.129 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/1.155, allocations: 105 kB / 1.129 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/1.155, allocations: 183.8 kB / 1.13 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/1.155, allocations: 101.7 kB / 1.13 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.079e-05/1.155, allocations: 80.12 kB / 1.13 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0 / 1.13 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002706/1.156, allocations: 0 / 1.13 GB, free: 29.27 MB / 0.7292 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.0002523/1.156, allocations: 0.8166 MB / 1.131 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.618e-05/1.156, allocations: 0 / 1.131 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.156, allocations: 0 / 1.131 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/1.156, allocations: 8 kB / 1.131 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/1.156, allocations: 0.5191 MB / 1.131 GB, free: 27.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/1.157, allocations: 0.4939 MB / 1.132 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/1.157, allocations: 0.6755 MB / 1.132 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.019e-05/1.157, allocations: 0 / 1.132 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/1.157, allocations: 7.438 kB / 1.132 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/1.157, allocations: 0.6562 kB / 1.132 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/1.168, allocations: 0.7205 MB / 1.133 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.168, allocations: 192.7 kB / 1.133 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.69, allocations: 8.109 kB / 1.133 GB, free: 26.06 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)