Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009241/0.0009243, allocations: 86.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.715e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7725/1.007, allocations: 130.8 MB / 1.02 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.007, allocations: 70.33 kB / 1.02 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007026/1.008, allocations: 370.5 kB / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.008, allocations: 0 / 1.02 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.008, allocations: 4.062 kB / 1.02 GB, free: 3.543 MB / 0.6355 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.0002906/1.008, allocations: 306.9 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/1.008, allocations: 12.09 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/1.008, allocations: 30.56 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/1.008, allocations: 6.125 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.009, allocations: 163 kB / 1.021 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.009, allocations: 2.625 kB / 1.021 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/1.009, allocations: 3.5 kB / 1.021 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.009, allocations: 33.69 kB / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/1.009, allocations: 0 / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/1.009, allocations: 0 / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.009, allocations: 0.75 kB / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/1.009, allocations: 0 / 1.021 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/1.009, allocations: 391.5 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/1.009, allocations: 169.2 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/1.009, allocations: 80.14 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/1.009, allocations: 79.22 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/1.01, allocations: 113.3 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.01, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.981e-05/1.01, allocations: 32.36 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.01, allocations: 126.7 kB / 1.022 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/1.01, allocations: 89 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/1.01, allocations: 25.7 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/1.01, allocations: 83.83 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/1.01, allocations: 0 / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/1.01, allocations: 8.125 kB / 1.022 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.01, allocations: 318.8 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-06/1.01, allocations: 0 / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-06/1.01, allocations: 3.938 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.048e-05/1.01, allocations: 75.28 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/1.01, allocations: 75.28 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.48e-05/1.01, allocations: 33.64 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/1.01, allocations: 79.28 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.405e-05/1.01, allocations: 79.28 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.109e-05/1.01, allocations: 154.5 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-05/1.01, allocations: 82.72 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.185e-05/1.01, allocations: 154.5 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/1.011, allocations: 79.22 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/1.011, allocations: 75.28 kB / 1.023 GB, free: 448 kB / 0.6355 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.0001221/1.011, allocations: 263.5 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/1.011, allocations: 104.9 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/1.011, allocations: 107.6 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-05/1.011, allocations: 180.6 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/1.011, allocations: 188.2 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/1.011, allocations: 180.3 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/1.011, allocations: 412.7 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/1.011, allocations: 101 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/1.011, allocations: 101.9 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.779e-05/1.011, allocations: 180.2 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/1.012, allocations: 180.3 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.797e-05/1.012, allocations: 184.2 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.355e-05/1.012, allocations: 184.2 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/1.012, allocations: 304.7 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/1.012, allocations: 181.7 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.012, allocations: 196 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/1.012, allocations: 101 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/1.012, allocations: 176.3 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/1.012, allocations: 104.9 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.865e-05/1.012, allocations: 87.09 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002378/1.013, allocations: 96 / 1.026 GB, free: 12.8 MB / 0.6511 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.000475/1.013, allocations: 0.8092 MB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.504e-05/1.013, allocations: 7.375 kB / 1.027 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.013, allocations: 3.938 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/1.013, allocations: 8 kB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/1.013, allocations: 0.5165 MB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/1.014, allocations: 151.4 kB / 1.028 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.014, allocations: 0.6716 MB / 1.028 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.278e-05/1.014, allocations: 7.75 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/1.014, allocations: 7.438 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.014, allocations: 4 kB / 1.028 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/1.025, allocations: 0.7418 MB / 1.029 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/1.025, allocations: 182.5 kB / 1.029 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.572, allocations: 3.938 kB / 1.029 GB, free: 9.684 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)