Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001355/0.001355, allocations: 96.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 173.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.338/2.338, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.184/1.184, allocations: 113.7 MB / 405.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006658/0.000666, allocations: 12 kB / 493 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2982, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7969/1.095, allocations: 135.5 MB / 0.689 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006558/1.102, allocations: 3.673 MB / 0.6926 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/1.102, allocations: 7.938 kB / 0.6926 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008269/1.103, allocations: 159.2 kB / 0.6928 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/1.104, allocations: 287.1 kB / 0.6931 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/1.106, allocations: 346.2 kB / 0.6934 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000802/1.107, allocations: 335.8 kB / 0.6937 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/1.107, allocations: 153.4 kB / 0.6939 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/1.108, allocations: 303.1 kB / 0.6941 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/1.109, allocations: 139.5 kB / 0.6943 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/1.109, allocations: 8 kB / 0.6943 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/1.109, allocations: 59.89 kB / 0.6943 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/1.109, allocations: 75.78 kB / 0.6944 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/1.109, allocations: 69.58 kB / 0.6945 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/1.11, allocations: 204.4 kB / 0.6947 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.11, allocations: 0 / 0.6947 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.065e-06/1.11, allocations: 0 / 0.6947 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.11, allocations: 4 kB / 0.6947 GB, free: 12.96 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001054/1.111, allocations: 0.503 MB / 0.6952 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/1.111, allocations: 8.031 kB / 0.6952 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.144e-05/1.111, allocations: 46.55 kB / 0.6952 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/1.111, allocations: 31.62 kB / 0.6953 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/1.112, allocations: 267.5 kB / 0.6955 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/1.112, allocations: 20 kB / 0.6955 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/1.112, allocations: 23.89 kB / 0.6955 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/1.113, allocations: 266.5 kB / 0.6958 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.113, allocations: 0 / 0.6958 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/1.113, allocations: 8 kB / 0.6958 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/1.113, allocations: 8 kB / 0.6958 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/1.113, allocations: 159.7 kB / 0.696 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/1.115, allocations: 1.375 MB / 0.6973 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/1.116, allocations: 191.7 kB / 0.6975 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/1.116, allocations: 133 kB / 0.6976 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.116, allocations: 42.62 kB / 0.6977 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/1.116, allocations: 0 / 0.6977 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0009198/1.117, allocations: 221.8 kB / 0.6979 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.118, allocations: 191.8 kB / 0.6981 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/1.118, allocations: 283 kB / 0.6983 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/1.118, allocations: 29.7 kB / 0.6984 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/1.118, allocations: 147.8 kB / 0.6985 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/1.118, allocations: 31.55 kB / 0.6985 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/1.118, allocations: 4 kB / 0.6985 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001966/1.118, allocations: 338.8 kB / 0.6989 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.119, allocations: 55.95 kB / 0.6989 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/1.119, allocations: 113.1 kB / 0.699 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/1.119, allocations: 67.91 kB / 0.6991 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.119, allocations: 0 / 0.6991 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005425/1.12, allocations: 204.2 kB / 0.6993 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.12, allocations: 4 kB / 0.6993 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.12, allocations: 4.219 kB / 0.6993 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/1.12, allocations: 4 kB / 0.6993 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.12, allocations: 35.92 kB / 0.6993 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.12, allocations: 11.92 kB / 0.6993 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/1.12, allocations: 35.67 kB / 0.6994 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/1.12, allocations: 8 kB / 0.6994 GB, free: 7.742 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 (15): * Single equations (assignments): 15 * 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 0.0002014/1.121, allocations: 149.7 kB / 0.6995 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/1.121, allocations: 27.72 kB / 0.6995 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/1.121, allocations: 135 kB / 0.6997 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.121, allocations: 7.984 kB / 0.6997 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.121, allocations: 4 kB / 0.6997 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.121, allocations: 4 kB / 0.6997 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.123, allocations: 0.7728 MB / 0.7004 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.123, allocations: 4 kB / 0.7004 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.123, allocations: 29.02 kB / 0.7005 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-06/1.123, allocations: 3.984 kB / 0.7005 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.123, allocations: 4 kB / 0.7005 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/1.123, allocations: 11.89 kB / 0.7005 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.123, allocations: 0 / 0.7005 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/1.124, allocations: 411.9 kB / 0.7009 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/1.124, allocations: 112.7 kB / 0.701 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/1.124, allocations: 4 kB / 0.701 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/1.124, allocations: 11.98 kB / 0.701 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/1.124, allocations: 20 kB / 0.701 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/1.124, allocations: 8 kB / 0.701 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002897/1.125, allocations: 205.9 kB / 0.7012 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.125, allocations: 0 / 0.7012 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005782/1.125, allocations: 52 kB / 0.7013 GB, free: 5.617 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.001604/1.127, allocations: 1.334 MB / 0.7026 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005796/1.127, allocations: 127.8 kB / 0.7027 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.127, allocations: 448 / 0.7027 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000247/1.128, allocations: 71.89 kB / 0.7028 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.129, allocations: 121.1 kB / 0.7029 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/1.133, allocations: 2.516 MB / 0.7053 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/1.133, allocations: 0.756 MB / 0.7061 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002092/1.133, allocations: 58.25 kB / 0.7061 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.133, allocations: 67.41 kB / 0.7062 GB, free: 416 kB / 0.5137 GB Notification: Performance of SimCode: time 1.713e-06/1.133, allocations: 0 / 0.7062 GB, free: 416 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/1.171, allocations: 6.301 MB / 0.7124 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003264/1.172, allocations: 216.2 kB / 0.7126 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/4.349, allocations: 0 / 0.7126 GB, free: 10.06 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: