Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.886/2.886, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.002544/0.002544, allocations: 184.4 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.449/3.449, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.00118/0.001181, allocations: 87.59 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.07e-05/4.048e-05, allocations: 8 kB / 0.8519 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9541, allocations: 115.3 MB / 0.9645 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/1.134, allocations: 136.3 MB / 1.098 GB, free: 3.402 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.135, allocations: 68.91 kB / 1.098 GB, free: 3.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005767/1.135, allocations: 373.2 kB / 1.098 GB, free: 2.973 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/1.135, allocations: 0 / 1.098 GB, free: 2.973 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.135, allocations: 0.5625 kB / 1.098 GB, free: 2.973 MB / 0.698 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.0002599/1.135, allocations: 310.1 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.136, allocations: 8.531 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/1.136, allocations: 2.344 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.136, allocations: 167 kB / 1.099 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/1.136, allocations: 0 / 1.099 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/1.136, allocations: 0.875 kB / 1.099 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.464e-05/1.136, allocations: 3.938 kB / 1.099 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.669e-05/1.136, allocations: 30.23 kB / 1.099 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/1.136, allocations: 7.125 kB / 1.099 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/1.136, allocations: 0 / 1.099 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/1.136, allocations: 0.5 kB / 1.099 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/1.136, allocations: 357.7 kB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/1.136, allocations: 176.5 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.463e-05/1.136, allocations: 84.08 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/1.136, allocations: 75.28 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/1.137, allocations: 105.8 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/1.137, allocations: 0.5312 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.496e-05/1.137, allocations: 33.62 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.137, allocations: 56.97 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/1.137, allocations: 85 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/1.137, allocations: 25.7 kB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/1.137, allocations: 84.66 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/1.137, allocations: 0.5938 kB / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-07/1.137, allocations: 0 / 1.1 GB, free: 1.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.137, allocations: 319 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-06/1.137, allocations: 0.5625 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/1.137, allocations: 4.625 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/1.137, allocations: 83.77 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/1.137, allocations: 75.28 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.262e-05/1.137, allocations: 26.52 kB / 1.1 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.137, allocations: 83.81 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/1.137, allocations: 79.98 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-05/1.137, allocations: 155.2 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/1.137, allocations: 78.88 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.749e-05/1.137, allocations: 153.1 kB / 1.101 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/1.138, allocations: 83.88 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/1.138, allocations: 76.38 kB / 1.101 GB, free: 32 kB / 0.698 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.000151/1.138, allocations: 260.8 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.078e-05/1.138, allocations: 138.6 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/1.138, allocations: 105.7 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/1.138, allocations: 106 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.009e-05/1.138, allocations: 188.7 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.39e-05/1.138, allocations: 176.9 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-05/1.138, allocations: 180.9 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.139, allocations: 386.6 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.167e-05/1.139, allocations: 106.4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/1.139, allocations: 105 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.419e-05/1.139, allocations: 181.5 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/1.139, allocations: 176.3 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.521e-05/1.139, allocations: 181.9 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-05/1.139, allocations: 181.1 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.139, allocations: 311.9 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/1.139, allocations: 182 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/1.139, allocations: 179.1 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.14, allocations: 104.9 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/1.14, allocations: 192.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/1.14, allocations: 108.8 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.568e-05/1.14, allocations: 75.28 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.14, allocations: 0 / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000351/1.14, allocations: 0 / 1.104 GB, free: 12.28 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.0004769/1.141, allocations: 0.8125 MB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.423e-05/1.141, allocations: 9.344 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.141, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/1.141, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/1.141, allocations: 0.5185 MB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/1.141, allocations: 145.1 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/1.142, allocations: 0.6768 MB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.926e-06/1.142, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/1.142, allocations: 7.438 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.142, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/1.157, allocations: 420.2 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.157, allocations: 161.6 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.296/2.453, allocations: 0 / 1.107 GB, free: 9.453 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)