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.556/2.556, allocations: 287.3 MB / 302.3 MB, free: 8.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.001579/0.001579, allocations: 176.1 kB / 370.8 MB, free: 10.86 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.205/2.205, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001072, allocations: 97.36 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004787, allocations: 12.44 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9194/1.165, allocations: 136.9 MB / 1.112 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/1.165, allocations: 67.09 kB / 1.112 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001011/1.166, allocations: 366.8 kB / 1.112 GB, free: 31.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.166, allocations: 0 / 1.112 GB, free: 31.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.133e-06/1.166, allocations: 3.688 kB / 1.112 GB, free: 31.12 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.0002721/1.166, allocations: 316.2 kB / 1.113 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.167, allocations: 15.61 kB / 1.113 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/1.167, allocations: 33.94 kB / 1.113 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/1.167, allocations: 0 / 1.113 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/1.167, allocations: 168.4 kB / 1.113 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.167, allocations: 0 / 1.113 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/1.167, allocations: 0 / 1.113 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.665e-05/1.167, allocations: 29.52 kB / 1.113 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.167, allocations: 2.719 kB / 1.113 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/1.167, allocations: 0 / 1.113 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.167, allocations: 4 kB / 1.113 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/1.167, allocations: 0 / 1.113 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/1.167, allocations: 381.7 kB / 1.113 GB, free: 30.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/1.167, allocations: 180.3 kB / 1.114 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/1.167, allocations: 75.28 kB / 1.114 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.167, allocations: 109.8 kB / 1.114 GB, free: 29.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/1.167, allocations: 3.938 kB / 1.114 GB, free: 29.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.436e-05/1.167, allocations: 30.47 kB / 1.114 GB, free: 29.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/1.168, allocations: 138.7 kB / 1.114 GB, free: 29.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/1.168, allocations: 87 kB / 1.114 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/1.168, allocations: 25.7 kB / 1.114 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/1.168, allocations: 81.86 kB / 1.114 GB, free: 29.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/1.168, allocations: 7.875 kB / 1.114 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/1.168, allocations: 0 / 1.114 GB, free: 29.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.168, allocations: 314.8 kB / 1.114 GB, free: 29.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-06/1.168, allocations: 0 / 1.114 GB, free: 29.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-06/1.168, allocations: 0 / 1.114 GB, free: 29.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.057e-05/1.168, allocations: 75.28 kB / 1.114 GB, free: 28.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/1.168, allocations: 78.28 kB / 1.115 GB, free: 28.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.111e-05/1.168, allocations: 31 kB / 1.115 GB, free: 28.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/1.168, allocations: 83.09 kB / 1.115 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/1.168, allocations: 79.22 kB / 1.115 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-05/1.168, allocations: 157.8 kB / 1.115 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.86e-05/1.168, allocations: 81.41 kB / 1.115 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-05/1.168, allocations: 152.2 kB / 1.115 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/1.168, allocations: 78.72 kB / 1.115 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.168, allocations: 87.06 kB / 1.115 GB, free: 28.14 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 () * Number of clocked 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.0001268/1.169, allocations: 262 kB / 1.115 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/1.169, allocations: 104.9 kB / 1.116 GB, free: 27.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/1.169, allocations: 115.8 kB / 1.116 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-05/1.169, allocations: 176.6 kB / 1.116 GB, free: 27.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.824e-05/1.169, allocations: 181.8 kB / 1.116 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/1.169, allocations: 184.2 kB / 1.116 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/1.169, allocations: 407 kB / 1.117 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/1.169, allocations: 104.9 kB / 1.117 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/1.169, allocations: 104.4 kB / 1.117 GB, free: 26.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.704e-05/1.169, allocations: 180.1 kB / 1.117 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/1.169, allocations: 188.5 kB / 1.117 GB, free: 26.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.528e-05/1.17, allocations: 180.2 kB / 1.117 GB, free: 25.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.239e-05/1.17, allocations: 181.8 kB / 1.117 GB, free: 25.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/1.17, allocations: 307.7 kB / 1.118 GB, free: 25.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/1.17, allocations: 187.4 kB / 1.118 GB, free: 25.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/1.17, allocations: 184.1 kB / 1.118 GB, free: 25.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/1.17, allocations: 104.9 kB / 1.118 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/1.17, allocations: 177.7 kB / 1.118 GB, free: 24.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/1.17, allocations: 108.8 kB / 1.118 GB, free: 24.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.787e-05/1.17, allocations: 78.59 kB / 1.119 GB, free: 24.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.17, allocations: 4.094 kB / 1.119 GB, free: 24.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003212/1.171, allocations: 7.781 kB / 1.119 GB, free: 24.53 MB / 0.698 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 () * Number of clocked 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.000419/1.171, allocations: 0.8086 MB / 1.119 GB, free: 23.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.135e-05/1.171, allocations: 0 / 1.119 GB, free: 23.72 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.171, allocations: 4 kB / 1.119 GB, free: 23.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/1.171, allocations: 3.938 kB / 1.119 GB, free: 23.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/1.171, allocations: 0.5146 MB / 1.12 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/1.172, allocations: 0.4935 MB / 1.12 GB, free: 22.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.172, allocations: 0.6776 MB / 1.121 GB, free: 21.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.017e-06/1.172, allocations: 0 / 1.121 GB, free: 21.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/1.172, allocations: 7.438 kB / 1.121 GB, free: 21.98 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/1.172, allocations: 0 / 1.121 GB, free: 21.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/1.19, allocations: 0.7312 MB / 1.122 GB, free: 21.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.19, allocations: 192.8 kB / 1.122 GB, free: 21.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.514, allocations: 0 / 1.122 GB, free: 21.62 MB / 0.698 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)