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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002019/0.002018, allocations: 183.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009088, allocations: 91.66 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4697/0.4697, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.297e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1367, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.329/7.465, allocations: 2.754 GB / 3.227 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/7.466, allocations: 85.16 kB / 3.227 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9078/8.373, allocations: 291.7 MB / 3.512 GB, free: 69.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.246e-06/8.374, allocations: 3.984 kB / 3.512 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.418e-05/8.374, allocations: 7.984 kB / 3.512 GB, free: 69.34 MB / 0.5105 GB 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.004459/8.378, allocations: 1.201 MB / 3.513 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/8.378, allocations: 12.03 kB / 3.513 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/8.378, allocations: 66.47 kB / 3.513 GB, free: 68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/8.379, allocations: 115.4 kB / 3.513 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/8.38, allocations: 330.8 kB / 3.513 GB, free: 67.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/8.38, allocations: 24.56 kB / 3.513 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/8.38, allocations: 27.98 kB / 3.513 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/8.38, allocations: 435.7 kB / 3.514 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/8.381, allocations: 0 / 3.514 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/8.381, allocations: 15.95 kB / 3.514 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/8.381, allocations: 8 kB / 3.514 GB, free: 66.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006792/8.381, allocations: 341.3 kB / 3.514 GB, free: 66.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/8.384, allocations: 2.364 MB / 3.516 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/8.384, allocations: 234.3 kB / 3.517 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/8.384, allocations: 52.86 kB / 3.517 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/8.385, allocations: 484.3 kB / 3.517 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/8.385, allocations: 34.56 kB / 3.517 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/8.385, allocations: 0 / 3.517 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001004/8.386, allocations: 345.1 kB / 3.517 GB, free: 62.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/8.386, allocations: 102.8 kB / 3.518 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/8.386, allocations: 290.5 kB / 3.518 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/8.386, allocations: 33.7 kB / 3.518 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.597e-05/8.386, allocations: 211.8 kB / 3.518 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/8.386, allocations: 43.45 kB / 3.518 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/8.386, allocations: 4 kB / 3.518 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/8.386, allocations: 342.8 kB / 3.518 GB, free: 61.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.856e-05/8.386, allocations: 44.94 kB / 3.519 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/8.387, allocations: 167.4 kB / 3.519 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/8.387, allocations: 63.95 kB / 3.519 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/8.387, allocations: 0 / 3.519 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003285/8.387, allocations: 252.8 kB / 3.519 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/8.387, allocations: 11.94 kB / 3.519 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/8.387, allocations: 4 kB / 3.519 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/8.387, allocations: 4 kB / 3.519 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/8.387, allocations: 76.36 kB / 3.519 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/8.387, allocations: 4 kB / 3.519 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/8.388, allocations: 51.66 kB / 3.519 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/8.388, allocations: 16 kB / 3.519 GB, free: 61.04 MB / 0.5105 GB 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 () * 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 6.764e-05/8.388, allocations: 120.9 kB / 3.519 GB, free: 60.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/8.388, allocations: 35.58 kB / 3.519 GB, free: 60.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/8.388, allocations: 0.6983 MB / 3.52 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/8.388, allocations: 11.98 kB / 3.52 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/8.388, allocations: 0 / 3.52 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/8.388, allocations: 0 / 3.52 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/8.389, allocations: 0.522 MB / 3.52 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/8.389, allocations: 0 / 3.52 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/8.389, allocations: 51.95 kB / 3.521 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/8.389, allocations: 7.953 kB / 3.521 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/8.389, allocations: 4 kB / 3.521 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/8.389, allocations: 4 kB / 3.521 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/8.389, allocations: 0 / 3.521 GB, free: 59.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/8.389, allocations: 401.7 kB / 3.521 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/8.389, allocations: 192.1 kB / 3.521 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/8.389, allocations: 0 / 3.521 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/8.39, allocations: 31.89 kB / 3.521 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/8.39, allocations: 15.97 kB / 3.521 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/8.39, allocations: 7.984 kB / 3.521 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000271/8.39, allocations: 337.5 kB / 3.522 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/8.39, allocations: 0 / 3.522 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00375/8.394, allocations: 0.8664 MB / 3.522 GB, free: 57.64 MB / 0.5105 GB 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 () * 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.005418/8.399, allocations: 2.112 MB / 3.524 GB, free: 55.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003335/8.4, allocations: 199.7 kB / 3.525 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/8.4, allocations: 0 / 3.525 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/8.4, allocations: 127.9 kB / 3.525 GB, free: 55.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000851/8.401, allocations: 181.7 kB / 3.525 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/8.403, allocations: 0.9135 MB / 3.526 GB, free: 54.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/8.403, allocations: 0.8582 MB / 3.527 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002936/8.403, allocations: 120.9 kB / 3.527 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/8.404, allocations: 159.4 kB / 3.527 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of SimCode: time 3.8e-07/8.404, allocations: 0 / 3.527 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05175/8.455, allocations: 36.19 MB / 3.562 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/8.456, allocations: 217.4 kB / 3.562 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/11.56, allocations: 0 / 3.562 GB, free: 16.51 MB / 0.5105 GB (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) 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