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.004219/0.004219, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001105/0.001105, allocations: 198.3 kB / 16.79 MB, free: 6.242 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 115.3 MB / 405.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 68.25 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1589, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02827/0.1872, allocations: 23.1 MB / 0.5784 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2689/0.4562, allocations: 5.107 MB / 0.5834 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008775/0.4571, allocations: 23.94 kB / 0.5834 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.4579, allocations: 231.7 kB / 0.5836 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.4598, allocations: 0.7313 MB / 0.5843 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.4615, allocations: 0.6849 MB / 0.585 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.4638, allocations: 2.163 MB / 0.5871 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006619/0.4645, allocations: 416.4 kB / 0.5875 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4655, allocations: 0.5338 MB / 0.588 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.4662, allocations: 464.5 kB / 0.5885 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.4663, allocations: 25.94 kB / 0.5885 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4673, allocations: 465 kB / 0.589 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.4675, allocations: 122.1 kB / 0.5891 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.4678, allocations: 288.4 kB / 0.5894 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.4689, allocations: 0.8982 MB / 0.5902 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.469, allocations: 4.5 kB / 0.5902 GB, free: 10.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.469, allocations: 0 / 0.5902 GB, free: 10.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.469, allocations: 0 / 0.5902 GB, free: 10.29 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.001467/0.4704, allocations: 0.8865 MB / 0.5911 GB, free: 25.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4705, allocations: 9.75 kB / 0.5911 GB, free: 25.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.097e-05/0.4706, allocations: 77.8 kB / 0.5912 GB, free: 25.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.4708, allocations: 68.58 kB / 0.5912 GB, free: 25.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.4717, allocations: 0.5518 MB / 0.5918 GB, free: 25.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.4717, allocations: 36.59 kB / 0.5918 GB, free: 25.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.4718, allocations: 40.2 kB / 0.5919 GB, free: 25.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.4725, allocations: 444.6 kB / 0.5923 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4725, allocations: 0 / 0.5923 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.4726, allocations: 16.38 kB / 0.5923 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.4726, allocations: 14.22 kB / 0.5923 GB, free: 25.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.4731, allocations: 303.4 kB / 0.5926 GB, free: 25.3 MB / 462.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.002556/0.4757, allocations: 1.912 MB / 0.5945 GB, free: 24.3 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.4763, allocations: 262.3 kB / 0.5947 GB, free: 24.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.4765, allocations: 128.8 kB / 0.5948 GB, free: 24.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007346/0.4772, allocations: 0.8437 MB / 0.5957 GB, free: 23.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4773, allocations: 37.27 kB / 0.5957 GB, free: 23.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.4773, allocations: 0 / 0.5957 GB, free: 23.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008145/0.4781, allocations: 368.1 kB / 0.5961 GB, free: 23.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.4781, allocations: 61.72 kB / 0.5961 GB, free: 23.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007091/0.4789, allocations: 475.6 kB / 0.5966 GB, free: 23.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.4789, allocations: 31.02 kB / 0.5966 GB, free: 23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4791, allocations: 257.2 kB / 0.5968 GB, free: 22.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.4792, allocations: 93.14 kB / 0.5969 GB, free: 22.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.4793, allocations: 74.95 kB / 0.597 GB, free: 22.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4795, allocations: 360.3 kB / 0.5973 GB, free: 22.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4797, allocations: 96.34 kB / 0.5974 GB, free: 22.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.4799, allocations: 170.8 kB / 0.5976 GB, free: 22.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.4803, allocations: 277.7 kB / 0.5979 GB, free: 22.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4803, allocations: 1.125 kB / 0.5979 GB, free: 22.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005895/0.4809, allocations: 364.5 kB / 0.5982 GB, free: 22.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4809, allocations: 6.469 kB / 0.5982 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4809, allocations: 9.562 kB / 0.5982 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.481, allocations: 4.406 kB / 0.5982 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.4813, allocations: 73.59 kB / 0.5983 GB, free: 22.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4813, allocations: 6.547 kB / 0.5983 GB, free: 22.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.4816, allocations: 45.11 kB / 0.5984 GB, free: 22.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4816, allocations: 22.94 kB / 0.5984 GB, free: 22.26 MB / 462.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.0001917/0.4818, allocations: 179.2 kB / 0.5985 GB, free: 22.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.4819, allocations: 48.27 kB / 0.5986 GB, free: 22.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/0.4829, allocations: 475.2 kB / 0.599 GB, free: 22.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.4829, allocations: 8.906 kB / 0.5991 GB, free: 22.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4829, allocations: 5.094 kB / 0.5991 GB, free: 22.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007062/0.4836, allocations: 0.5617 MB / 0.5996 GB, free: 21.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4856, allocations: 1.154 MB / 0.6007 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4856, allocations: 1.344 kB / 0.6007 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.4859, allocations: 48.89 kB / 0.6008 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.4859, allocations: 3.734 kB / 0.6008 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.4859, allocations: 14.61 kB / 0.6008 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.486, allocations: 6.75 kB / 0.6008 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.486, allocations: 1.844 kB / 0.6008 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.4868, allocations: 0.6638 MB / 0.6015 GB, free: 20.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.487, allocations: 175.6 kB / 0.6016 GB, free: 20.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.4871, allocations: 8.344 kB / 0.6016 GB, free: 20.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.4874, allocations: 17.81 kB / 0.6016 GB, free: 20.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.4874, allocations: 22.7 kB / 0.6017 GB, free: 20.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.4875, allocations: 26.44 kB / 0.6017 GB, free: 20.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003888/0.4879, allocations: 345.9 kB / 0.602 GB, free: 20.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4879, allocations: 0 / 0.602 GB, free: 20.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.4886, allocations: 197 kB / 0.6022 GB, free: 20.38 MB / 462.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.001511/0.4901, allocations: 1.397 MB / 0.6036 GB, free: 19.41 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.4905, allocations: 292.2 kB / 0.6039 GB, free: 19.33 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4905, allocations: 1.594 kB / 0.6039 GB, free: 19.33 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.4908, allocations: 162.6 kB / 0.604 GB, free: 19.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.4923, allocations: 327.7 kB / 0.6043 GB, free: 19.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.4976, allocations: 4.426 MB / 0.6086 GB, free: 16.42 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.498, allocations: 0.8671 MB / 0.6095 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004332/0.4985, allocations: 120.7 kB / 0.6096 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.4987, allocations: 192.2 kB / 0.6098 GB, free: 15.55 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4987, allocations: 0 / 0.6098 GB, free: 15.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.5275, allocations: 16.13 MB / 0.6255 GB, free: 8.512 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5277, allocations: 240.9 kB / 0.6258 GB, free: 8.254 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/2.746, allocations: 8 kB / 0.6258 GB, free: 8.246 MB / 462.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)