Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.412/2.412, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001388/0.001388, allocations: 176.9 kB / 360.6 MB, free: 7.293 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.057/2.057, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001094/0.001093, allocations: 97.03 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.653e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8235, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/1.067, allocations: 136.2 MB / 1.096 GB, free: 4.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.067, allocations: 72.73 kB / 1.096 GB, free: 4.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007728/1.068, allocations: 369.1 kB / 1.097 GB, free: 3.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.068, allocations: 0 / 1.097 GB, free: 3.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.068, allocations: 0.5 kB / 1.097 GB, free: 3.848 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.000388/1.068, allocations: 310.3 kB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.068, allocations: 8.75 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/1.068, allocations: 1.203 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/1.069, allocations: 170.2 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/1.069, allocations: 0 / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/1.069, allocations: 3.938 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.879e-05/1.069, allocations: 0 / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/1.069, allocations: 29.7 kB / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.069, allocations: 1.641 kB / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.069, allocations: 0 / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.069, allocations: 0 / 1.097 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/1.069, allocations: 362.8 kB / 1.098 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/1.069, allocations: 173.1 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/1.07, allocations: 80.73 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.212e-05/1.07, allocations: 75.94 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.298e-05/1.07, allocations: 111.3 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/1.07, allocations: 0 / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001114/1.07, allocations: 33.02 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.07, allocations: 56.12 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.07, allocations: 85.66 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.07, allocations: 26.39 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/1.07, allocations: 84.08 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/1.07, allocations: 0.7188 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-07/1.07, allocations: 0 / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.07, allocations: 315.5 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-06/1.07, allocations: 8.531 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/1.07, allocations: 0.7812 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/1.071, allocations: 75.28 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/1.071, allocations: 75.97 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001037/1.071, allocations: 30.28 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/1.071, allocations: 86.41 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.143e-05/1.071, allocations: 75.28 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/1.071, allocations: 159.3 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/1.071, allocations: 78.47 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.299e-05/1.071, allocations: 155.9 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/1.071, allocations: 79.22 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/1.071, allocations: 79.12 kB / 1.1 GB, free: 0.9023 MB / 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.0002006/1.072, allocations: 260.6 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001349/1.072, allocations: 134.6 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/1.072, allocations: 105.2 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.424e-05/1.072, allocations: 104.7 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/1.072, allocations: 199.5 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001339/1.072, allocations: 176.3 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.677e-05/1.072, allocations: 176.3 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/1.073, allocations: 386.6 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.249e-05/1.073, allocations: 106.4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/1.073, allocations: 101 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/1.073, allocations: 181.3 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.073, allocations: 176.3 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/1.073, allocations: 187.5 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000114/1.074, allocations: 181.1 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/1.074, allocations: 307.9 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.074, allocations: 182 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.074, allocations: 184.2 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/1.074, allocations: 101 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.074, allocations: 186.2 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/1.075, allocations: 114.6 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.266e-05/1.075, allocations: 75.28 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.02e-07/1.075, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005439/1.075, allocations: 0 / 1.103 GB, free: 13.15 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.0006441/1.076, allocations: 0.8164 MB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.301e-05/1.076, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.076, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-06/1.076, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/1.077, allocations: 0.5198 MB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006015/1.077, allocations: 153.1 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.078, allocations: 0.669 MB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.729e-06/1.078, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/1.078, allocations: 7.438 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of SimCode: time 1.694e-06/1.078, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/1.113, allocations: 413.3 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004169/1.113, allocations: 159.8 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/3.341, allocations: 4.781 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)