Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",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.0007844/0.0007842, allocations: 96.94 kB / 15.7 MB, free: 468 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.0008719/0.0008721, allocations: 168.6 kB / 16.58 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.7 MB, free: 5.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3386/0.3386, allocations: 43.55 MB / 314.6 MB, free: 8.812 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2435/0.364, allocations: 27.91 MB / 470.8 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.3799, allocations: 14.43 MB / 485.2 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.3805, allocations: 10.16 kB / 485.2 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.3811, allocations: 171.8 kB / 485.4 MB, free: 24.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.3818, allocations: 263.3 kB / 485.7 MB, free: 24.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.3945, allocations: 4.303 MB / 490 MB, free: 22.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3955, allocations: 0.9314 MB / 490.9 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.3958, allocations: 181.4 kB / 491.1 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/0.4097, allocations: 8.935 MB / 0.4883 GB, free: 21.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.4103, allocations: 226 kB / 0.4885 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/0.4104, allocations: 16.31 kB / 0.4885 GB, free: 20.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.4209, allocations: 5.81 MB / 0.4942 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.4211, allocations: 69.48 kB / 0.4943 GB, free: 19.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.4213, allocations: 92.45 kB / 0.4944 GB, free: 19.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.4271, allocations: 2.46 MB / 0.4968 GB, free: 19.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4271, allocations: 1.469 kB / 0.4968 GB, free: 19.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4271, allocations: 0 / 0.4968 GB, free: 19.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4271, allocations: 0 / 0.4968 GB, free: 19.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003361/0.4305, allocations: 0.9343 MB / 0.4977 GB, free: 18.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4305, allocations: 10.38 kB / 0.4977 GB, free: 18.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.4306, allocations: 61.39 kB / 0.4977 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008704/0.4315, allocations: 122.3 kB / 0.4979 GB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.4318, allocations: 320.4 kB / 0.4982 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.4319, allocations: 20.5 kB / 0.4982 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.4319, allocations: 27.44 kB / 0.4982 GB, free: 18.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.4329, allocations: 471.3 kB / 0.4987 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.433, allocations: 4.938 kB / 0.4987 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.433, allocations: 12.66 kB / 0.4987 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.433, allocations: 7.594 kB / 0.4987 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009926/0.434, allocations: 395.9 kB / 0.4991 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.4364, allocations: 2.401 MB / 0.5014 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009252/0.4373, allocations: 299.9 kB / 0.5017 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.4376, allocations: 110.5 kB / 0.5018 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003282/0.4379, allocations: 487.4 kB / 0.5023 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.438, allocations: 35.88 kB / 0.5023 GB, free: 15.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.438, allocations: 0 / 0.5023 GB, free: 15.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001503/0.4395, allocations: 0.4941 MB / 0.5028 GB, free: 14.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.4395, allocations: 105.6 kB / 0.5029 GB, free: 14.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.4398, allocations: 315.2 kB / 0.5032 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4398, allocations: 31.08 kB / 0.5032 GB, free: 14.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.4399, allocations: 210.7 kB / 0.5034 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.44, allocations: 43.53 kB / 0.5034 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.44, allocations: 5.375 kB / 0.5035 GB, free: 14.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.44, allocations: 341.4 kB / 0.5038 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.4403, allocations: 93.52 kB / 0.5039 GB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4405, allocations: 212.4 kB / 0.5041 GB, free: 13.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.4408, allocations: 109.4 kB / 0.5042 GB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4408, allocations: 1 kB / 0.5042 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006032/0.4414, allocations: 345.6 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4414, allocations: 6.156 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4414, allocations: 3.719 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4415, allocations: 10.2 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4417, allocations: 70.33 kB / 0.5046 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4417, allocations: 5.219 kB / 0.5046 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.442, allocations: 55.09 kB / 0.5046 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.442, allocations: 14.75 kB / 0.5047 GB, free: 13.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.000125/0.4421, allocations: 155.5 kB / 0.5048 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.4422, allocations: 31 kB / 0.5048 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009581/0.4431, allocations: 0.7805 MB / 0.5056 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4432, allocations: 14.44 kB / 0.5056 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4432, allocations: 5.25 kB / 0.5056 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.4432, allocations: 0 / 0.5056 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.4437, allocations: 0.5318 MB / 0.5061 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4437, allocations: 0 / 0.5061 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.444, allocations: 49.42 kB / 0.5062 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.444, allocations: 9.281 kB / 0.5062 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.444, allocations: 5.219 kB / 0.5062 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.444, allocations: 0 / 0.5062 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.444, allocations: 6.109 kB / 0.5062 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.4447, allocations: 483.1 kB / 0.5067 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4448, allocations: 184.9 kB / 0.5068 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.4449, allocations: 1.375 kB / 0.5068 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4451, allocations: 32.11 kB / 0.5069 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.4452, allocations: 19.98 kB / 0.5069 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.4452, allocations: 7.906 kB / 0.5069 GB, free: 11.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003305/0.4455, allocations: 339.4 kB / 0.5072 GB, free: 11.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4455, allocations: 0 / 0.5072 GB, free: 11.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004685/0.4502, allocations: 0.842 MB / 0.508 GB, free: 11.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006578/0.4568, allocations: 1.9 MB / 0.5099 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.4575, allocations: 301.8 kB / 0.5102 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4576, allocations: 0 / 0.5102 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4578, allocations: 173.2 kB / 0.5104 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.4588, allocations: 174.2 kB / 0.5105 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.4632, allocations: 2.558 MB / 0.513 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.4634, allocations: 0.8419 MB / 0.5138 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.4637, allocations: 142.8 kB / 0.514 GB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4639, allocations: 163.3 kB / 0.5141 GB, free: 6.574 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4639, allocations: 0 / 0.5141 GB, free: 6.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06075/0.5247, allocations: 38.85 MB / 0.5521 GB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.5249, allocations: 241.3 kB / 0.5523 GB, free: 15.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.543/4.068, allocations: 0 / 0.5523 GB, free: 15.46 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat