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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007127/0.0007129, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00398/0.00398, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.483/1.483, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 15.94 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1658, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.000559/0.1664, allocations: 286 kB / 0.7883 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 2.713e-05/0.1664, allocations: 4 kB / 0.7883 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1665, allocations: 0 / 0.7883 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.1665, allocations: 0 / 0.7883 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.1665, allocations: 4 kB / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.223e-05/0.1665, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.199e-05/0.1666, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.1666, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.03e-05/0.1666, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.495e-05/0.1666, allocations: 4 kB / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1667, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.1667, allocations: 0 / 0.7883 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1667, allocations: 11.92 kB / 0.7883 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1667, allocations: 37.62 kB / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.45e-05/0.1668, allocations: 0 / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1668, allocations: 0 / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1668, allocations: 0 / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.1668, allocations: 0 / 0.7884 GB, free: 11.14 MB / 0.6075 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.0002028/0.167, allocations: 307.6 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.167, allocations: 12.02 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.1671, allocations: 30.75 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.503e-05/0.1671, allocations: 0.9375 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.934e-05/0.1672, allocations: 168.4 kB / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-06/0.1672, allocations: 384 / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-06/0.1672, allocations: 384 / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.831e-05/0.1672, allocations: 30.27 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.1673, allocations: 3.938 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-06/0.1673, allocations: 4 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.1673, allocations: 0 / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.271e-05/0.1673, allocations: 3.938 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1675, allocations: 391.4 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.1676, allocations: 169.1 kB / 0.7894 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1676, allocations: 80.14 kB / 0.7895 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1677, allocations: 75.28 kB / 0.7896 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1677, allocations: 121.8 kB / 0.7897 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.1677, allocations: 0 / 0.7897 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.42e-05/0.1678, allocations: 29.67 kB / 0.7897 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1678, allocations: 134.7 kB / 0.7898 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.1e-05/0.1679, allocations: 93.86 kB / 0.7899 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1679, allocations: 25.7 kB / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.168, allocations: 80.14 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.168, allocations: 128 / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.168, allocations: 13.72 kB / 0.79 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.1681, allocations: 310.8 kB / 0.7903 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.1681, allocations: 0 / 0.7903 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-06/0.1681, allocations: 4 kB / 0.7903 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.1681, allocations: 79.27 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.1681, allocations: 87.16 kB / 0.7905 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.432e-05/0.1682, allocations: 25.7 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.1682, allocations: 83.28 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.1683, allocations: 83.27 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-05/0.1683, allocations: 158.5 kB / 0.7908 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.552e-05/0.1683, allocations: 75.28 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.144e-05/0.1684, allocations: 158.5 kB / 0.7911 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.115e-05/0.1685, allocations: 75.28 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1685, allocations: 79.27 kB / 0.7912 GB, free: 7.969 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.1686, allocations: 268.6 kB / 0.7915 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.1686, allocations: 110 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.1687, allocations: 104.1 kB / 0.7917 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/0.1687, allocations: 180.2 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-05/0.1688, allocations: 184.2 kB / 0.792 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.928e-05/0.1688, allocations: 184.3 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.169, allocations: 401.1 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/0.1691, allocations: 105 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.1691, allocations: 108.9 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.476e-05/0.1692, allocations: 184.6 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.1692, allocations: 184.3 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.451e-05/0.1693, allocations: 180.2 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.607e-05/0.1693, allocations: 188.3 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1694, allocations: 307.7 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1695, allocations: 178.1 kB / 0.7939 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.1696, allocations: 188.2 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1696, allocations: 108.9 kB / 0.7942 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1697, allocations: 184.2 kB / 0.7944 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.1697, allocations: 101 kB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.1698, allocations: 83.28 kB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1698, allocations: 0 / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.17, allocations: 4.094 kB / 0.7946 GB, free: 4.281 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003382/0.1703, allocations: 0.8087 MB / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 2.047e-05/0.1704, allocations: 0 / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1704, allocations: 0 / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.1704, allocations: 4 kB / 0.7954 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1707, allocations: 0.5251 MB / 0.7959 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.1715, allocations: 1.518 MB / 0.7974 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.1717, allocations: 0.6731 MB / 0.798 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.022e-06/0.1717, allocations: 4.094 kB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.1718, allocations: 11.42 kB / 0.798 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of SimCode: time 1.542e-06/0.1718, allocations: 0 / 0.798 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.827/4.999, allocations: 0.7212 MB / 0.7988 GB, free: 20 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/4.999, allocations: 215.8 kB / 0.799 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/6.594, allocations: 7.938 kB / 0.799 GB, free: 15.75 MB / 0.6231 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/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)