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.677/1.677, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.00106/0.001061, allocations: 176.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008568/0.0008569, allocations: 82.23 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.139e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7816, allocations: 116.3 MB / 0.9734 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.9876, allocations: 137.3 MB / 1.107 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.9879, allocations: 71.06 kB / 1.108 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005323/0.9884, allocations: 374.9 kB / 1.108 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9885, allocations: 0 / 1.108 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9885, allocations: 0 / 1.108 GB, free: 12.39 MB / 0.7136 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.0002498/0.9887, allocations: 311 kB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.9888, allocations: 12.09 kB / 1.108 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.9888, allocations: 0.5312 kB / 1.108 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.989, allocations: 164.3 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.9891, allocations: 0 / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.9891, allocations: 3.984 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.016e-05/0.9891, allocations: 4.562 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.9892, allocations: 26.23 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9892, allocations: 0.5 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.9892, allocations: 3.938 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9893, allocations: 0.7188 kB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.9896, allocations: 365.5 kB / 1.109 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.9896, allocations: 166.3 kB / 1.109 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.9897, allocations: 81.55 kB / 1.109 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.9897, allocations: 75.28 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.646e-05/0.9898, allocations: 114.7 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.9898, allocations: 0.5938 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.312e-05/0.9899, allocations: 36.31 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.9899, allocations: 52.09 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.99, allocations: 86.12 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.99, allocations: 25.7 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.9901, allocations: 84.73 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.9901, allocations: 0.5625 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.9901, allocations: 0.5625 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.9902, allocations: 311.3 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.9902, allocations: 0.5312 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.829e-06/0.9902, allocations: 0.5938 kB / 1.11 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.9903, allocations: 82.19 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.9903, allocations: 76.16 kB / 1.11 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.883e-05/0.9904, allocations: 35.89 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.9904, allocations: 83.28 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.9905, allocations: 86.3 kB / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.149e-05/0.9906, allocations: 154.6 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.544e-05/0.9906, allocations: 79.22 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.762e-05/0.9907, allocations: 150.6 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.61e-05/0.9907, allocations: 75.28 kB / 1.111 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.9908, allocations: 82.47 kB / 1.111 GB, free: 9.449 MB / 0.7136 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.0001001/0.9909, allocations: 259.5 kB / 1.111 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.945e-05/0.9909, allocations: 134.6 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.991, allocations: 113.2 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.991, allocations: 108.7 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/0.9911, allocations: 181.5 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.564e-05/0.9912, allocations: 184.2 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.427e-05/0.9912, allocations: 181.6 kB / 1.112 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.9914, allocations: 378.9 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.9915, allocations: 106.8 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.9915, allocations: 106.4 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.566e-05/0.9916, allocations: 184.3 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.9916, allocations: 180.8 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.055e-05/0.9917, allocations: 177.6 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.098e-05/0.9918, allocations: 177.2 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.9919, allocations: 310.6 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/0.992, allocations: 182.1 kB / 1.113 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.992, allocations: 184.3 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.9921, allocations: 112.9 kB / 1.114 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.9922, allocations: 176.3 kB / 1.114 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.9922, allocations: 109.4 kB / 1.114 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.9922, allocations: 79.28 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9922, allocations: 0 / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002189/0.9925, allocations: 0 / 1.114 GB, free: 5.691 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.0003729/0.9928, allocations: 0.8088 MB / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.601e-05/0.9929, allocations: 0 / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9929, allocations: 0 / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.9929, allocations: 0 / 1.115 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.9932, allocations: 0.5276 MB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.9936, allocations: 143.7 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.9939, allocations: 0.6768 MB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.475e-06/0.9939, allocations: 0 / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.9939, allocations: 7.438 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.9939, allocations: 0 / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/1.013, allocations: 415.7 kB / 1.117 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/1.013, allocations: 155.3 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/2.422, allocations: 0 / 1.117 GB, free: 2.871 MB / 0.7136 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)