Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",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.001049/0.001049, allocations: 102.8 kB / 15.98 MB, free: 6.344 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.001112/0.001112, allocations: 194.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6671/0.6671, allocations: 115.3 MB / 406.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.88 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 76.18 MB / 0.556 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.017/0.3176, allocations: 23.04 MB / 0.5785 GB, free: 19.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3231, allocations: 5.054 MB / 0.5835 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004634/0.3236, allocations: 23 kB / 0.5835 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.3242, allocations: 233.7 kB / 0.5837 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.3256, allocations: 0.7459 MB / 0.5844 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.3269, allocations: 0.6991 MB / 0.5851 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3283, allocations: 1.618 MB / 0.5867 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.3288, allocations: 479.5 kB / 0.5872 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3299, allocations: 0.6322 MB / 0.5878 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004245/0.3303, allocations: 471.7 kB / 0.5882 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.3304, allocations: 44.94 kB / 0.5883 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.3311, allocations: 493.4 kB / 0.5887 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3313, allocations: 140.3 kB / 0.5889 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3315, allocations: 312.3 kB / 0.5892 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.3325, allocations: 0.9127 MB / 0.5901 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3325, allocations: 0 / 0.5901 GB, free: 12.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3325, allocations: 5.75 kB / 0.5901 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3325, allocations: 0 / 0.5901 GB, free: 12.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001054/0.3336, allocations: 0.8955 MB / 0.5909 GB, free: 11.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3336, allocations: 8.75 kB / 0.5909 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.313e-05/0.3337, allocations: 72.77 kB / 0.591 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.3339, allocations: 72.31 kB / 0.5911 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.3347, allocations: 0.559 MB / 0.5916 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.3347, allocations: 27.38 kB / 0.5917 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.3348, allocations: 42.62 kB / 0.5917 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.3354, allocations: 436.7 kB / 0.5921 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3354, allocations: 5.438 kB / 0.5921 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.3355, allocations: 15.84 kB / 0.5921 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3355, allocations: 9.406 kB / 0.5921 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.336, allocations: 303 kB / 0.5924 GB, free: 10.89 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.3382, allocations: 1.911 MB / 0.5943 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3387, allocations: 264.6 kB / 0.5946 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3389, allocations: 124.8 kB / 0.5947 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.3395, allocations: 0.8453 MB / 0.5955 GB, free: 8.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3395, allocations: 40.06 kB / 0.5955 GB, free: 8.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.3395, allocations: 5.062 kB / 0.5955 GB, free: 8.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0005935/0.3401, allocations: 378.7 kB / 0.5959 GB, free: 8.133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3401, allocations: 54.56 kB / 0.596 GB, free: 8.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.3406, allocations: 468.8 kB / 0.5964 GB, free: 7.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.3406, allocations: 32.11 kB / 0.5964 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3407, allocations: 259.7 kB / 0.5967 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.3408, allocations: 94.58 kB / 0.5968 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.3409, allocations: 78.17 kB / 0.5968 GB, free: 7.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.341, allocations: 357.7 kB / 0.5972 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3411, allocations: 96.52 kB / 0.5973 GB, free: 6.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.3413, allocations: 160.8 kB / 0.5974 GB, free: 6.875 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3416, allocations: 288.5 kB / 0.5977 GB, free: 6.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3416, allocations: 0 / 0.5977 GB, free: 6.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004887/0.3421, allocations: 367.2 kB / 0.5981 GB, free: 6.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3422, allocations: 6.344 kB / 0.5981 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3422, allocations: 5.359 kB / 0.5981 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3422, allocations: 7.938 kB / 0.5981 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3424, allocations: 72.06 kB / 0.5981 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3424, allocations: 3.531 kB / 0.5981 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.3427, allocations: 53.48 kB / 0.5982 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.3428, allocations: 20.11 kB / 0.5982 GB, free: 6.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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 0.0001441/0.3429, allocations: 174.1 kB / 0.5984 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.343, allocations: 47.72 kB / 0.5984 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/0.3437, allocations: 483.2 kB / 0.5989 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.3437, allocations: 15.3 kB / 0.5989 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3437, allocations: 0 / 0.5989 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000438/0.3442, allocations: 0.5597 MB / 0.5994 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.3456, allocations: 1.154 MB / 0.6006 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3457, allocations: 1.5 kB / 0.6006 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3459, allocations: 55.19 kB / 0.6006 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3459, allocations: 3.688 kB / 0.6006 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.3459, allocations: 12.23 kB / 0.6006 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3459, allocations: 3.062 kB / 0.6006 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3459, allocations: 2.812 kB / 0.6006 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.3467, allocations: 0.6656 MB / 0.6013 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3469, allocations: 173.4 kB / 0.6015 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.347, allocations: 11.47 kB / 0.6015 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.3473, allocations: 21.14 kB / 0.6015 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3473, allocations: 27.72 kB / 0.6015 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.3474, allocations: 19.3 kB / 0.6015 GB, free: 3.891 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003726/0.3477, allocations: 341.1 kB / 0.6019 GB, free: 3.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3477, allocations: 1.125 kB / 0.6019 GB, free: 3.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006816/0.3484, allocations: 200 kB / 0.6021 GB, free: 3.637 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001378/0.3498, allocations: 1.381 MB / 0.6034 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.3503, allocations: 321.1 kB / 0.6037 GB, free: 2.441 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3503, allocations: 4.062 kB / 0.6037 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3505, allocations: 161.6 kB / 0.6039 GB, free: 2.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.352, allocations: 337.9 kB / 0.6042 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.3568, allocations: 4.437 MB / 0.6085 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3572, allocations: 0.8666 MB / 0.6094 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.3576, allocations: 116.7 kB / 0.6095 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.3579, allocations: 191.4 kB / 0.6097 GB, free: 12.66 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3579, allocations: 0 / 0.6097 GB, free: 12.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.388, allocations: 16.59 MB / 0.6259 GB, free: 12.38 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.3882, allocations: 240.9 kB / 0.6261 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.425, allocations: 0 / 0.6261 GB, free: 12.12 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)