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 1.487/1.487, allocations: 287.4 MB / 302.5 MB, free: 8.285 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.0009499/0.0009498, allocations: 186.6 kB / 371.1 MB, free: 10.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 1.216/1.216, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007581/0.0007579, allocations: 91.23 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 12.62 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1669, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005176/0.1674, allocations: 282 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 2.936e-05/0.1675, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.1675, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.1675, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.1675, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.16e-05/0.1676, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.1676, allocations: 4 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1677, allocations: 4 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.047e-05/0.1677, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.462e-05/0.1677, allocations: 3.938 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1677, allocations: 0 / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.1677, allocations: 0 / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.1677, allocations: 0 / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.214e-05/0.1677, allocations: 25.7 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.078e-05/0.1678, allocations: 11.98 kB / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1678, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1678, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.1678, allocations: 0 / 0.9791 GB, free: 27.74 MB / 0.6198 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.0001561/0.168, allocations: 307.6 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.168, allocations: 12.09 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.823e-05/0.168, allocations: 30.75 kB / 0.9794 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.544e-05/0.1681, allocations: 0.9375 kB / 0.9794 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.794e-05/0.1681, allocations: 164.4 kB / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1681, allocations: 384 / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.1681, allocations: 384 / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.012e-05/0.1682, allocations: 34.25 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1682, allocations: 11.88 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-06/0.1682, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1682, allocations: 0 / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.337e-05/0.1683, allocations: 11.94 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1684, allocations: 383.4 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.1685, allocations: 173.1 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.1685, allocations: 88.08 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1685, allocations: 75.28 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.1685, allocations: 105.8 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1685, allocations: 0 / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.256e-05/0.1686, allocations: 29.73 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1686, allocations: 134.6 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.1687, allocations: 101.8 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-06/0.1687, allocations: 25.7 kB / 0.9807 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.1687, allocations: 84.14 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.1687, allocations: 0 / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.1687, allocations: 0 / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.1688, allocations: 310.8 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-06/0.1688, allocations: 3.938 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-06/0.1688, allocations: 0 / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.331e-05/0.1688, allocations: 79.41 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.1688, allocations: 79.22 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.034e-05/0.1689, allocations: 29.7 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1689, allocations: 79.28 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1689, allocations: 87.2 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.1689, allocations: 154.6 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-06/0.169, allocations: 75.28 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.169, allocations: 158.5 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.169, allocations: 75.28 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1691, allocations: 83.22 kB / 0.9819 GB, free: 24.57 MB / 0.6198 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 4.649e-05/0.1691, allocations: 268.6 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1691, allocations: 105 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.1692, allocations: 112.1 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.1692, allocations: 180.2 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/0.1692, allocations: 177.1 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/0.1692, allocations: 180.2 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1694, allocations: 413.1 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.1694, allocations: 101 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.1694, allocations: 112.9 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.1694, allocations: 184.2 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.1695, allocations: 184.2 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-05/0.1695, allocations: 180.6 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.1695, allocations: 176.3 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.437e-05/0.1696, allocations: 315.7 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.1696, allocations: 186 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1696, allocations: 180.3 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.1697, allocations: 101 kB / 0.9849 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.1697, allocations: 180.2 kB / 0.9851 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1697, allocations: 109 kB / 0.9852 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.1698, allocations: 83.28 kB / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 0.9853 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000233/0.17, allocations: 0 / 0.9853 GB, free: 20.9 MB / 0.6198 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.0001779/0.1702, allocations: 0.8126 MB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 2.887e-05/0.1702, allocations: 0 / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1702, allocations: 4 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1702, allocations: 0 / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.1705, allocations: 0.5262 MB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.1708, allocations: 0.5016 MB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.1709, allocations: 0.673 MB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.728e-06/0.1709, allocations: 0 / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.1709, allocations: 7.438 kB / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1709, allocations: 96 / 0.9878 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009422/0.1804, allocations: 0.7334 MB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.1805, allocations: 198.3 kB / 0.9887 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/1.556, allocations: 3.938 kB / 0.9887 GB, free: 17.46 MB / 0.6198 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)