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.0007149/0.000715, allocations: 92.55 kB / 15.7 MB, free: 472 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.0007444/0.0007444, allocations: 175.2 kB / 16.58 MB, free: 6.844 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.192/1.192, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6027/0.6027, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002654/0.0002654, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3612/0.4934, allocations: 146.5 MB / 0.6999 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.4973, allocations: 4.221 MB / 0.7041 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4975, allocations: 7.938 kB / 0.7041 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.4978, allocations: 91.23 kB / 0.7042 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.4982, allocations: 262.8 kB / 0.7044 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.4988, allocations: 226.9 kB / 0.7046 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.4993, allocations: 0.6703 MB / 0.7053 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.4995, allocations: 149.3 kB / 0.7054 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.5001, allocations: 362.5 kB / 0.7058 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.5003, allocations: 191.2 kB / 0.706 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.5003, allocations: 8 kB / 0.706 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.5005, allocations: 63.95 kB / 0.706 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.5005, allocations: 79.77 kB / 0.7061 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.5006, allocations: 69.58 kB / 0.7062 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.5008, allocations: 207.5 kB / 0.7064 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.5008, allocations: 0 / 0.7064 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5008, allocations: 0 / 0.7064 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.5008, allocations: 3.938 kB / 0.7064 GB, free: 1.805 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.0005078/0.5013, allocations: 0.4992 MB / 0.7069 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.37e-05/0.5013, allocations: 8.031 kB / 0.7069 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.5014, allocations: 51.17 kB / 0.7069 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.5014, allocations: 27.62 kB / 0.7069 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.5017, allocations: 267.5 kB / 0.7072 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5017, allocations: 16 kB / 0.7072 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.5018, allocations: 27.95 kB / 0.7072 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.5021, allocations: 260.8 kB / 0.7075 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5021, allocations: 7.938 kB / 0.7075 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5021, allocations: 8 kB / 0.7075 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5021, allocations: 4 kB / 0.7075 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.5024, allocations: 163.7 kB / 0.7077 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009691/0.5034, allocations: 1.371 MB / 0.709 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.5036, allocations: 191.7 kB / 0.7092 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.5038, allocations: 101 kB / 0.7093 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.5041, allocations: 129.1 kB / 0.7094 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5041, allocations: 42.55 kB / 0.7094 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5041, allocations: 4 kB / 0.7094 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004889/0.5046, allocations: 221.6 kB / 0.7097 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.5047, allocations: 183.9 kB / 0.7098 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.5049, allocations: 294.9 kB / 0.7101 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.5049, allocations: 29.86 kB / 0.7101 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.505, allocations: 147.8 kB / 0.7103 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5051, allocations: 35.55 kB / 0.7103 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.5051, allocations: 7.938 kB / 0.7103 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.5052, allocations: 330.8 kB / 0.7106 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5053, allocations: 51.91 kB / 0.7107 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.5054, allocations: 125.2 kB / 0.7108 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.5056, allocations: 67.91 kB / 0.7109 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5056, allocations: 0 / 0.7109 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003172/0.5059, allocations: 198.1 kB / 0.7111 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.5059, allocations: 7.984 kB / 0.7111 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.5059, allocations: 0 / 0.7111 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.506, allocations: 4 kB / 0.7111 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5061, allocations: 35.92 kB / 0.7111 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5061, allocations: 4.219 kB / 0.7111 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.5062, allocations: 39.67 kB / 0.7112 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.5063, allocations: 11.95 kB / 0.7112 GB, free: 12.47 MB / 0.5294 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.0001081/0.5064, allocations: 145.8 kB / 0.7113 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.5065, allocations: 27.72 kB / 0.7113 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.5068, allocations: 136.2 kB / 0.7115 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5068, allocations: 4 kB / 0.7115 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5068, allocations: 4.062 kB / 0.7115 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5068, allocations: 4 kB / 0.7115 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.5075, allocations: 0.7806 MB / 0.7122 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5075, allocations: 4.047 kB / 0.7122 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5076, allocations: 27.97 kB / 0.7123 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5076, allocations: 0 / 0.7123 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5076, allocations: 4 kB / 0.7123 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5077, allocations: 7.891 kB / 0.7123 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5077, allocations: 8.156 kB / 0.7123 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.5081, allocations: 351.4 kB / 0.7126 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.5082, allocations: 104.8 kB / 0.7127 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.5082, allocations: 11.98 kB / 0.7127 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5084, allocations: 12.06 kB / 0.7127 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.5084, allocations: 11.94 kB / 0.7128 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.5084, allocations: 8 kB / 0.7128 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001663/0.5086, allocations: 205.9 kB / 0.713 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5086, allocations: 7.938 kB / 0.713 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002815/0.5089, allocations: 48 kB / 0.713 GB, free: 10.43 MB / 0.5294 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.0007741/0.5096, allocations: 0.9313 MB / 0.7139 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.5099, allocations: 131.9 kB / 0.714 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5099, allocations: 0 / 0.714 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.5101, allocations: 68.64 kB / 0.7141 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.5107, allocations: 121.5 kB / 0.7142 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.5125, allocations: 1.482 MB / 0.7157 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.5128, allocations: 0.756 MB / 0.7164 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.5129, allocations: 54.23 kB / 0.7165 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.859e-05/0.513, allocations: 67.42 kB / 0.7165 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.513, allocations: 0 / 0.7165 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.5273, allocations: 6.315 MB / 0.7227 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.5275, allocations: 224.9 kB / 0.7229 GB, free: 344 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.107, allocations: 3.938 kB / 0.7229 GB, free: 340 kB / 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: