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.001052/0.001052, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008554, allocations: 87.67 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.803e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 63.25 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.48, allocations: 100.7 MB / 0.6098 GB, free: 9.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.4803, allocations: 100.9 kB / 0.6099 GB, free: 9.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06396/0.5443, allocations: 24.13 MB / 0.6334 GB, free: 4.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5444, allocations: 0 / 0.6334 GB, free: 4.398 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.5444, allocations: 8 kB / 0.6335 GB, free: 4.391 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.001522/0.5459, allocations: 0.7012 MB / 0.6341 GB, free: 3.676 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.546, allocations: 11.97 kB / 0.6341 GB, free: 3.664 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.5462, allocations: 111.9 kB / 0.6343 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.5464, allocations: 55.34 kB / 0.6343 GB, free: 3.527 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.5469, allocations: 313 kB / 0.6346 GB, free: 3.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.5469, allocations: 43 kB / 0.6346 GB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.547, allocations: 58.47 kB / 0.6347 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.548, allocations: 0.7097 MB / 0.6354 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.548, allocations: 0 / 0.6354 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.5481, allocations: 19 kB / 0.6354 GB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.5482, allocations: 49.09 kB / 0.6355 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009894/0.5492, allocations: 0.762 MB / 0.6362 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.5516, allocations: 1.53 MB / 0.6377 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.5523, allocations: 435.9 kB / 0.6381 GB, free: 252 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.5525, allocations: 148.4 kB / 0.6383 GB, free: 120 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.5526, allocations: 8.219 kB / 0.6383 GB, free: 112 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.5526, allocations: 34.11 kB / 0.6383 GB, free: 72 kB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.715e-06/0.5526, allocations: 0 / 0.6383 GB, free: 72 kB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007687/0.5534, allocations: 383.9 kB / 0.6387 GB, free: 15.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5534, allocations: 59.34 kB / 0.6387 GB, free: 15.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.554, allocations: 0.5127 MB / 0.6392 GB, free: 15.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.554, allocations: 28.64 kB / 0.6392 GB, free: 15.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5542, allocations: 276 kB / 0.6395 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.5543, allocations: 104.7 kB / 0.6396 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.5544, allocations: 10.25 kB / 0.6396 GB, free: 14.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5545, allocations: 360 kB / 0.64 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5548, allocations: 175.9 kB / 0.6401 GB, free: 14.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.5553, allocations: 410.6 kB / 0.6405 GB, free: 13.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.5557, allocations: 254.4 kB / 0.6408 GB, free: 13.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5557, allocations: 4 kB / 0.6408 GB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001003/0.5567, allocations: 0.6457 MB / 0.6414 GB, free: 13.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.5568, allocations: 11.94 kB / 0.6414 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5568, allocations: 8 kB / 0.6414 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.5568, allocations: 16.7 kB / 0.6414 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5579, allocations: 247.2 kB / 0.6417 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.5619, allocations: 7.306 MB / 0.6488 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.5624, allocations: 77.61 kB / 0.6489 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.5625, allocations: 39.92 kB / 0.6489 GB, free: 5.246 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 (64): * Single equations (assignments): 52 * 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.0001815/0.5627, allocations: 164.9 kB / 0.6491 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/0.5627, allocations: 43.44 kB / 0.6491 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009921/0.5637, allocations: 0.5339 MB / 0.6496 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5638, allocations: 4 kB / 0.6496 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5638, allocations: 0 / 0.6496 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5638, allocations: 0 / 0.6496 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.5644, allocations: 430.2 kB / 0.6501 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5644, allocations: 0 / 0.6501 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009171/0.5653, allocations: 202.7 kB / 0.6502 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.577e-06/0.5654, allocations: 0 / 0.6502 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.5654, allocations: 15.36 kB / 0.6503 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.5693, allocations: 7.299 MB / 0.6574 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5693, allocations: 4.094 kB / 0.6574 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.57, allocations: 485.5 kB / 0.6579 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.5702, allocations: 124.5 kB / 0.658 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.5702, allocations: 10.77 kB / 0.658 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.5705, allocations: 15.23 kB / 0.658 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.5706, allocations: 23.47 kB / 0.658 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.5706, allocations: 15.98 kB / 0.658 GB, free: 11.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004547/0.5711, allocations: 402.5 kB / 0.6584 GB, free: 11.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5711, allocations: 0 / 0.6584 GB, free: 11.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008121/0.5719, allocations: 204.6 kB / 0.6586 GB, free: 11.3 MB / 458.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 (28): * Single equations (assignments): 16 * 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.001424/0.5733, allocations: 1.197 MB / 0.6598 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.5748, allocations: 0.5426 MB / 0.6603 GB, free: 9.633 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5748, allocations: 4 kB / 0.6603 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.5757, allocations: 288.8 kB / 0.6606 GB, free: 9.363 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.5762, allocations: 102.6 kB / 0.6607 GB, free: 9.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.578, allocations: 0.8969 MB / 0.6616 GB, free: 8.414 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.5786, allocations: 0.9184 MB / 0.6625 GB, free: 7.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.579, allocations: 172.4 kB / 0.6626 GB, free: 7.312 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.5791, allocations: 150.5 kB / 0.6628 GB, free: 7.262 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5791, allocations: 0 / 0.6628 GB, free: 7.262 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.6144, allocations: 15.49 MB / 0.6779 GB, free: 8.055 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.6147, allocations: 224.7 kB / 0.6781 GB, free: 7.832 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.986, allocations: 0 / 0.6781 GB, free: 7.832 MB / 474.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