Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00089/0.00089, allocations: 92.23 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.478e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.64/0.8129, allocations: 131.1 MB / 1.013 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.8131, allocations: 72.45 kB / 1.013 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004833/0.8136, allocations: 370.5 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8136, allocations: 0 / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8137, allocations: 0 / 1.014 GB, free: 5.961 MB / 0.6355 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.0002441/0.8139, allocations: 310.1 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.8139, allocations: 8.031 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.814, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8141, allocations: 171.9 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.8142, allocations: 7.469 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.8142, allocations: 0 / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.954e-05/0.8142, allocations: 2.734 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.642e-05/0.8143, allocations: 29.64 kB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8143, allocations: 7.984 kB / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.8143, allocations: 0 / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.8143, allocations: 0 / 1.014 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.8146, allocations: 363.3 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.8147, allocations: 173.1 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.8148, allocations: 80.14 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.8148, allocations: 79.22 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.8148, allocations: 113.5 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8148, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.949e-05/0.8149, allocations: 28.36 kB / 1.015 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.8149, allocations: 51.41 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.815, allocations: 92.98 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.815, allocations: 25.7 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.8151, allocations: 80.14 kB / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.8151, allocations: 0 / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.8151, allocations: 128 / 1.015 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8152, allocations: 318.8 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-06/0.8152, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.8152, allocations: 4 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.8152, allocations: 75.28 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.928e-05/0.8153, allocations: 79.22 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.215e-05/0.8153, allocations: 32.95 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.8154, allocations: 83.28 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/0.8154, allocations: 79.28 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.926e-05/0.8155, allocations: 150.6 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/0.8155, allocations: 83.2 kB / 1.016 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.184e-05/0.8156, allocations: 150.6 kB / 1.016 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.8157, allocations: 79.28 kB / 1.016 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.8157, allocations: 79.22 kB / 1.016 GB, free: 3 MB / 0.6355 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.000115/0.8158, allocations: 259.5 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.274e-05/0.8159, allocations: 134.1 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.816, allocations: 109.2 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.816, allocations: 104.7 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/0.8161, allocations: 184.3 kB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.82e-05/0.8162, allocations: 180.2 kB / 1.017 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.928e-05/0.8162, allocations: 180.3 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.8165, allocations: 385.4 kB / 1.018 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/0.8165, allocations: 108.9 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.8165, allocations: 101 kB / 1.018 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.457e-05/0.8166, allocations: 180.2 kB / 1.018 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.8167, allocations: 184.2 kB / 1.018 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.564e-05/0.8168, allocations: 180.3 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-05/0.8168, allocations: 177.2 kB / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.817, allocations: 310 kB / 1.019 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.8171, allocations: 178.1 kB / 1.019 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.8172, allocations: 187.2 kB / 1.019 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.8172, allocations: 105.8 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.8173, allocations: 180.3 kB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.8174, allocations: 113.4 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.8174, allocations: 75.28 kB / 1.02 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8174, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002661/0.8177, allocations: 4.094 kB / 1.02 GB, free: 15.25 MB / 0.6511 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.0003866/0.8181, allocations: 0.8002 MB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.258e-05/0.8181, allocations: 3.938 kB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8181, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.8181, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.8184, allocations: 0.5237 MB / 1.021 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.8188, allocations: 145 kB / 1.021 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.819, allocations: 0.6729 MB / 1.022 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.365e-06/0.819, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.8191, allocations: 11.44 kB / 1.022 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of SimCode: time 4e-07/0.8191, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.8356, allocations: 419.4 kB / 1.022 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.8359, allocations: 167.6 kB / 1.023 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.291/2.126, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)