Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 95.23 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2519/0.2519, allocations: 45.15 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.023e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.35/7.471, allocations: 2.759 GB / 3.264 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/7.472, allocations: 83.34 kB / 3.264 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/8.517, allocations: 291.6 MB / 3.549 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.098e-06/8.517, allocations: 0 / 3.549 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.959e-05/8.517, allocations: 8 kB / 3.549 GB, free: 72.52 MB / 0.5261 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.005861/8.523, allocations: 1.207 MB / 3.55 GB, free: 71.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/8.523, allocations: 12.03 kB / 3.55 GB, free: 71.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/8.525, allocations: 135.4 kB / 3.55 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/8.525, allocations: 329.3 kB / 3.55 GB, free: 70.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/8.525, allocations: 12 kB / 3.55 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/8.525, allocations: 16 kB / 3.55 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003729/8.526, allocations: 205 kB / 3.551 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/8.526, allocations: 310.3 kB / 3.551 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/8.526, allocations: 0 / 3.551 GB, free: 70.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/8.526, allocations: 7.953 kB / 3.551 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/8.526, allocations: 8 kB / 3.551 GB, free: 70.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/8.529, allocations: 2.289 MB / 3.553 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/8.529, allocations: 122.5 kB / 3.553 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/8.529, allocations: 60.8 kB / 3.553 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/8.529, allocations: 480.9 kB / 3.554 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/8.529, allocations: 34.5 kB / 3.554 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.294e-06/8.529, allocations: 0 / 3.554 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0008503/8.53, allocations: 257.2 kB / 3.554 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/8.53, allocations: 102.8 kB / 3.554 GB, free: 66.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/8.531, allocations: 226.2 kB / 3.554 GB, free: 66.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/8.531, allocations: 25.7 kB / 3.554 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/8.531, allocations: 211.8 kB / 3.555 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/8.531, allocations: 47.33 kB / 3.555 GB, free: 66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/8.531, allocations: 4 kB / 3.555 GB, free: 66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/8.531, allocations: 330.8 kB / 3.555 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/8.531, allocations: 48 kB / 3.555 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/8.531, allocations: 161.5 kB / 3.555 GB, free: 65.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/8.531, allocations: 76.84 kB / 3.555 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.531, allocations: 0 / 3.555 GB, free: 65.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004101/8.532, allocations: 225.6 kB / 3.555 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/8.532, allocations: 19.92 kB / 3.555 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/8.532, allocations: 4 kB / 3.555 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/8.532, allocations: 7.984 kB / 3.555 GB, free: 65.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/8.532, allocations: 63.91 kB / 3.556 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/8.532, allocations: 7.984 kB / 3.556 GB, free: 65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/8.532, allocations: 47.73 kB / 3.556 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/8.532, allocations: 11.94 kB / 3.556 GB, free: 64.95 MB / 0.5261 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 7.619e-05/8.532, allocations: 116.8 kB / 3.556 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000271/8.533, allocations: 141.3 kB / 3.556 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/8.533, allocations: 27.67 kB / 3.556 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006227/8.533, allocations: 0.6889 MB / 3.557 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/8.533, allocations: 11.98 kB / 3.557 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/8.533, allocations: 4 kB / 3.557 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/8.533, allocations: 0 / 3.557 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/8.534, allocations: 479 kB / 3.557 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/8.534, allocations: 0 / 3.557 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/8.534, allocations: 63.88 kB / 3.557 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/8.534, allocations: 3.953 kB / 3.557 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/8.534, allocations: 4 kB / 3.557 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/8.534, allocations: 0 / 3.557 GB, free: 63.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/8.534, allocations: 3.984 kB / 3.557 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/8.534, allocations: 393.7 kB / 3.557 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/8.535, allocations: 176.3 kB / 3.558 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/8.535, allocations: 3.953 kB / 3.558 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/8.535, allocations: 27.88 kB / 3.558 GB, free: 62.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/8.535, allocations: 23.97 kB / 3.558 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/8.535, allocations: 8 kB / 3.558 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002127/8.535, allocations: 279 kB / 3.558 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/8.535, allocations: 7.938 kB / 3.558 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00391/8.539, allocations: 0.8585 MB / 3.559 GB, free: 61.57 MB / 0.5261 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.007711/8.547, allocations: 2.192 MB / 3.561 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003994/8.547, allocations: 195.8 kB / 3.561 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/8.547, allocations: 0 / 3.561 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/8.547, allocations: 131.9 kB / 3.561 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/8.548, allocations: 119.8 kB / 3.561 GB, free: 59.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/8.552, allocations: 0.9176 MB / 3.562 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/8.552, allocations: 0.858 MB / 3.563 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002948/8.552, allocations: 117.8 kB / 3.563 GB, free: 57.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/8.552, allocations: 151.4 kB / 3.563 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/8.552, allocations: 3.938 kB / 3.563 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/8.61, allocations: 29.37 MB / 3.592 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/8.61, allocations: 200.3 kB / 3.592 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.973/11.58, allocations: 6.125 kB / 3.592 GB, free: 27.37 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat