Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.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.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 198.8 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.581/1.581, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 104.2 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.292e-05, allocations: 0 / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5775, allocations: 100 MB / 0.6021 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5778, allocations: 93.94 kB / 0.6022 GB, free: 2.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07639/0.6542, allocations: 23.89 MB / 0.6256 GB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6543, allocations: 4 kB / 0.6256 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.6543, allocations: 4 kB / 0.6256 GB, free: 14.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00182/0.6561, allocations: 0.7004 MB / 0.6262 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.155e-05/0.6562, allocations: 15.97 kB / 0.6263 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.6564, allocations: 51.34 kB / 0.6263 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.6571, allocations: 306.7 kB / 0.6266 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.6571, allocations: 20 kB / 0.6266 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.6573, allocations: 32 kB / 0.6267 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001613/0.6589, allocations: 0.6768 MB / 0.6273 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.6605, allocations: 0.6356 MB / 0.6279 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.6605, allocations: 0 / 0.6279 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.6606, allocations: 0 / 0.6279 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.6607, allocations: 48.61 kB / 0.628 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.6649, allocations: 1.374 MB / 0.6293 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6663, allocations: 0.5132 MB / 0.6298 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/0.6668, allocations: 161.7 kB / 0.63 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.6669, allocations: 15.97 kB / 0.63 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.6669, allocations: 41.02 kB / 0.63 GB, free: 10.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 7.554e-06/0.667, allocations: 7.922 kB / 0.63 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.00132/0.6683, allocations: 412.9 kB / 0.6304 GB, free: 9.715 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.6684, allocations: 55.41 kB / 0.6305 GB, free: 9.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.6688, allocations: 245.5 kB / 0.6307 GB, free: 9.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.6689, allocations: 29.64 kB / 0.6308 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.6692, allocations: 276.8 kB / 0.631 GB, free: 9.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.6694, allocations: 135.2 kB / 0.6311 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.6695, allocations: 4 kB / 0.6311 GB, free: 9.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.6697, allocations: 337.6 kB / 0.6315 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.6702, allocations: 188.2 kB / 0.6316 GB, free: 8.555 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.671, allocations: 438 kB / 0.6321 GB, free: 8.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.6717, allocations: 269.6 kB / 0.6323 GB, free: 7.828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6717, allocations: 0 / 0.6323 GB, free: 7.828 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001827/0.6735, allocations: 0.625 MB / 0.6329 GB, free: 7.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.6736, allocations: 8 kB / 0.6329 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.6736, allocations: 8 kB / 0.6329 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.776e-05/0.6737, allocations: 19.95 kB / 0.633 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001902/0.6756, allocations: 255.8 kB / 0.6332 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/0.6814, allocations: 7.34 MB / 0.6404 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.6822, allocations: 47.52 kB / 0.6404 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.6823, allocations: 39.8 kB / 0.6405 GB, free: 15.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.6826, allocations: 143.2 kB / 0.6406 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000879/0.6835, allocations: 406.2 kB / 0.641 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.6836, allocations: 39.56 kB / 0.641 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.6849, allocations: 0.5595 MB / 0.6416 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.685, allocations: 4 kB / 0.6416 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.685, allocations: 4 kB / 0.6416 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.685, allocations: 3.984 kB / 0.6416 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007584/0.6858, allocations: 393.6 kB / 0.642 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6858, allocations: 0 / 0.642 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6869, allocations: 214.8 kB / 0.6422 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.6869, allocations: 7.953 kB / 0.6422 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.687, allocations: 7.984 kB / 0.6422 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003959/0.691, allocations: 7.324 MB / 0.6493 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.691, allocations: 4.062 kB / 0.6493 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.6917, allocations: 0.5139 MB / 0.6498 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.999e-05/0.6918, allocations: 112.6 kB / 0.6499 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.6918, allocations: 0 / 0.6499 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.6921, allocations: 11.98 kB / 0.65 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.6922, allocations: 27.89 kB / 0.65 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6922, allocations: 22.61 kB / 0.65 GB, free: 5.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.6924, allocations: 175.4 kB / 0.6502 GB, free: 5.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6924, allocations: 0 / 0.6502 GB, free: 5.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000867/0.6933, allocations: 213 kB / 0.6504 GB, free: 5.141 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.6946, allocations: 1.225 MB / 0.6516 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.696, allocations: 0.5667 MB / 0.6521 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.696, allocations: 1.25 kB / 0.6521 GB, free: 3.426 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.6969, allocations: 321 kB / 0.6524 GB, free: 3.137 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.6972, allocations: 23.36 kB / 0.6525 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.699, allocations: 0.871 MB / 0.6533 GB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.6995, allocations: 0.9207 MB / 0.6542 GB, free: 1.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.6998, allocations: 155 kB / 0.6544 GB, free: 1.168 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.7, allocations: 142.5 kB / 0.6545 GB, free: 1.129 MB / 442.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7, allocations: 0 / 0.6545 GB, free: 1.129 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.7312, allocations: 10.3 MB / 0.6645 GB, free: 6.867 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.7314, allocations: 181.1 kB / 0.6647 GB, free: 6.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.983, allocations: 4 kB / 0.6647 GB, free: 6.676 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat