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.836/1.836, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.00112, allocations: 178.8 kB / 371.6 MB, free: 3.328 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.79/1.79, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009182/0.0009185, allocations: 85.64 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4e-05, allocations: 7.984 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8608/1.137, allocations: 138 MB / 1.115 GB, free: 45.37 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.137, allocations: 66.02 kB / 1.115 GB, free: 45.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004679/1.138, allocations: 373.3 kB / 1.115 GB, free: 45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/1.138, allocations: 4.688 kB / 1.115 GB, free: 45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.933e-06/1.138, allocations: 0.9062 kB / 1.115 GB, free: 45 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.0001827/1.138, allocations: 304.8 kB / 1.115 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.138, allocations: 12.69 kB / 1.115 GB, free: 44.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/1.138, allocations: 31.47 kB / 1.115 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/1.138, allocations: 3.031 kB / 1.115 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/1.138, allocations: 161.2 kB / 1.116 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/1.138, allocations: 3.266 kB / 1.116 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/1.138, allocations: 3.938 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.447e-05/1.138, allocations: 30.52 kB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/1.138, allocations: 3.734 kB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/1.138, allocations: 0 / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/1.138, allocations: 1.031 kB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/1.138, allocations: 2.812 kB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/1.138, allocations: 384 kB / 1.116 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/1.139, allocations: 178.8 kB / 1.116 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/1.139, allocations: 80.64 kB / 1.116 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/1.139, allocations: 77.91 kB / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.139, allocations: 105.8 kB / 1.116 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.139, allocations: 0 / 1.116 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.816e-05/1.139, allocations: 34.08 kB / 1.116 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/1.139, allocations: 132.8 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.805e-05/1.139, allocations: 89 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.32e-06/1.139, allocations: 25.7 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/1.139, allocations: 81.11 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/1.139, allocations: 4 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.139, allocations: 0 / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.139, allocations: 326 kB / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-06/1.139, allocations: 0 / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/1.139, allocations: 0 / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.35e-05/1.139, allocations: 75.28 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.139, allocations: 75.28 kB / 1.117 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.537e-05/1.139, allocations: 30.27 kB / 1.117 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.139, allocations: 79.28 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.139, allocations: 79.22 kB / 1.117 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.5e-05/1.139, allocations: 160.3 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.627e-05/1.139, allocations: 82.64 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.139, allocations: 153.6 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/1.139, allocations: 79.53 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/1.139, allocations: 84.22 kB / 1.118 GB, free: 41.93 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.032e-05/1.139, allocations: 261.1 kB / 1.118 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/1.139, allocations: 101 kB / 1.118 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/1.139, allocations: 111.5 kB / 1.118 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.139, allocations: 183.9 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/1.139, allocations: 180.3 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/1.139, allocations: 180.2 kB / 1.119 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/1.14, allocations: 412.7 kB / 1.119 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.14, allocations: 104.9 kB / 1.119 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/1.14, allocations: 101.7 kB / 1.119 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.012e-05/1.14, allocations: 179.6 kB / 1.12 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/1.14, allocations: 184.2 kB / 1.12 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.071e-05/1.14, allocations: 180.3 kB / 1.12 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-05/1.14, allocations: 184.5 kB / 1.12 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/1.14, allocations: 308.9 kB / 1.12 GB, free: 39.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/1.14, allocations: 178.8 kB / 1.121 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/1.14, allocations: 184 kB / 1.121 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/1.14, allocations: 112.2 kB / 1.121 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/1.14, allocations: 176.3 kB / 1.121 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.14, allocations: 104.9 kB / 1.121 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.992e-05/1.14, allocations: 80.03 kB / 1.121 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.14, allocations: 0 / 1.121 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002467/1.14, allocations: 0 / 1.121 GB, free: 38.31 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.0002455/1.141, allocations: 0.8132 MB / 1.122 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.289e-05/1.141, allocations: 0 / 1.122 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.141, allocations: 6.953 kB / 1.122 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/1.141, allocations: 3.938 kB / 1.122 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/1.141, allocations: 0.5237 MB / 1.123 GB, free: 36.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/1.141, allocations: 145.5 kB / 1.123 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.141, allocations: 0.6789 MB / 1.123 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.266e-06/1.141, allocations: 0 / 1.123 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/1.141, allocations: 7.438 kB / 1.123 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/1.141, allocations: 0 / 1.123 GB, free: 36.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/1.153, allocations: 0.7325 MB / 1.124 GB, free: 35.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/1.153, allocations: 162.1 kB / 1.124 GB, free: 35.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.634, allocations: 4 kB / 1.124 GB, free: 35.47 MB / 0.7448 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)