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.001535/0.001535, allocations: 100.1 kB / 16.4 MB, free: 6.488 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.001727/0.001727, allocations: 199.8 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 66.67 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02214/0.1709, allocations: 23.2 MB / 0.6543 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008552/0.1795, allocations: 5.078 MB / 0.6592 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1807, allocations: 31.81 kB / 0.6593 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1818, allocations: 274.1 kB / 0.6595 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.1843, allocations: 0.789 MB / 0.6603 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1868, allocations: 0.7708 MB / 0.661 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002614/0.1894, allocations: 1.609 MB / 0.6626 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000923/0.1903, allocations: 492.2 kB / 0.6631 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.1922, allocations: 0.6312 MB / 0.6637 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009536/0.1932, allocations: 450 kB / 0.6641 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.1934, allocations: 44 kB / 0.6642 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1947, allocations: 499.1 kB / 0.6646 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1949, allocations: 139.5 kB / 0.6648 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.1954, allocations: 310.5 kB / 0.6651 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.1971, allocations: 0.92 MB / 0.666 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1971, allocations: 0 / 0.666 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.337e-06/0.1972, allocations: 3.984 kB / 0.666 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.1972, allocations: 0 / 0.666 GB, free: 1.566 MB / 0.4981 GB 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.001421/0.1986, allocations: 0.8804 MB / 0.6668 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1987, allocations: 12.03 kB / 0.6668 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.707e-05/0.1988, allocations: 78.7 kB / 0.6669 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002437/0.199, allocations: 72.19 kB / 0.667 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.2001, allocations: 0.5765 MB / 0.6676 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.2002, allocations: 33 kB / 0.6676 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.2002, allocations: 36 kB / 0.6676 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.2009, allocations: 444.7 kB / 0.668 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2009, allocations: 3.938 kB / 0.668 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.201, allocations: 16 kB / 0.6681 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.201, allocations: 12 kB / 0.6681 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.2015, allocations: 303.8 kB / 0.6684 GB, free: 14.99 MB / 0.5137 GB 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.002589/0.2041, allocations: 1.911 MB / 0.6702 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.2046, allocations: 262.7 kB / 0.6705 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.2048, allocations: 120.8 kB / 0.6706 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.2058, allocations: 0.8506 MB / 0.6714 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2058, allocations: 34.56 kB / 0.6715 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.2058, allocations: 3.938 kB / 0.6715 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0007151/0.2065, allocations: 372.3 kB / 0.6718 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2066, allocations: 59.41 kB / 0.6719 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.2071, allocations: 478 kB / 0.6723 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2072, allocations: 33.7 kB / 0.6724 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.2074, allocations: 264 kB / 0.6726 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.2075, allocations: 90.81 kB / 0.6727 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2076, allocations: 69.92 kB / 0.6728 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002138/0.2078, allocations: 354.8 kB / 0.6731 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.208, allocations: 96.59 kB / 0.6732 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.2082, allocations: 172.1 kB / 0.6734 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.2086, allocations: 294.6 kB / 0.6736 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2086, allocations: 0 / 0.6736 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005531/0.2091, allocations: 360.8 kB / 0.674 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2092, allocations: 8.219 kB / 0.674 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.2092, allocations: 4 kB / 0.674 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2092, allocations: 7.938 kB / 0.674 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.2095, allocations: 71.91 kB / 0.6741 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2095, allocations: 4 kB / 0.6741 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.2098, allocations: 39.52 kB / 0.6741 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.2098, allocations: 16 kB / 0.6741 GB, free: 8.641 MB / 0.5137 GB 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.0001912/0.21, allocations: 173.8 kB / 0.6743 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.2101, allocations: 55.42 kB / 0.6743 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/0.2109, allocations: 476.7 kB / 0.6748 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.2109, allocations: 7.938 kB / 0.6748 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.211, allocations: 4 kB / 0.6748 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005376/0.2115, allocations: 0.5684 MB / 0.6754 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.2133, allocations: 1.153 MB / 0.6765 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.2134, allocations: 0 / 0.6765 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2136, allocations: 55.91 kB / 0.6765 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2136, allocations: 4 kB / 0.6766 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.2136, allocations: 8 kB / 0.6766 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.2136, allocations: 7.984 kB / 0.6766 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2137, allocations: 0 / 0.6766 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/0.2145, allocations: 0.6753 MB / 0.6772 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.2147, allocations: 176.3 kB / 0.6774 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.2148, allocations: 11.94 kB / 0.6774 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.2151, allocations: 8 kB / 0.6774 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2152, allocations: 31.91 kB / 0.6774 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.2152, allocations: 15.98 kB / 0.6775 GB, free: 5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00041/0.2156, allocations: 346.8 kB / 0.6778 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2156, allocations: 0 / 0.6778 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006647/0.2163, allocations: 195.8 kB / 0.678 GB, free: 4.473 MB / 0.5137 GB 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.001663/0.218, allocations: 1.388 MB / 0.6793 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.2185, allocations: 287.7 kB / 0.6796 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.2185, allocations: 8.422 kB / 0.6796 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.2187, allocations: 163.8 kB / 0.6798 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.2203, allocations: 343.7 kB / 0.6801 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.2258, allocations: 4.201 MB / 0.6842 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.2263, allocations: 0.8666 MB / 0.685 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.2268, allocations: 124.7 kB / 0.6852 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.227, allocations: 187.4 kB / 0.6853 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.2271, allocations: 3.938 kB / 0.6853 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.2688, allocations: 17.23 MB / 0.7022 GB, free: 11.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/8.858, allocations: 14.34 kB / 0.7022 GB, free: 11.71 MB / 0.545 GB (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)