Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009766/0.0009764, allocations: 103.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2658/0.2658, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002255, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1079, allocations: 63.46 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.00214/0.11, allocations: 1.791 MB / 483.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1113, allocations: 0.8264 MB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.1114, allocations: 0 / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.1116, allocations: 43.75 kB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.1119, allocations: 135.4 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.1121, allocations: 83.78 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.1126, allocations: 0.5212 MB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.1127, allocations: 52.7 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.113, allocations: 171.1 kB / 485.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1132, allocations: 211.1 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1132, allocations: 12 kB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1136, allocations: 251.6 kB / 485.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1137, allocations: 103.5 kB / 485.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.115e-05/0.1138, allocations: 85.52 kB / 485.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.1142, allocations: 371.1 kB / 486.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1142, allocations: 0 / 486.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1142, allocations: 4 kB / 486.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1142, allocations: 0 / 486.3 MB, free: 0.5742 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009676/0.1152, allocations: 0.6394 MB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1152, allocations: 8.031 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.1154, allocations: 98.5 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.1154, allocations: 51.44 kB / 487.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.1158, allocations: 297 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.1158, allocations: 36.98 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.1159, allocations: 43.94 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.117, allocations: 0.664 MB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.117, allocations: 0 / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.117, allocations: 16 kB / 488.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.1172, allocations: 57.27 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1184, allocations: 0.6999 MB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1204, allocations: 1.352 MB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.1212, allocations: 449.8 kB / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.1215, allocations: 161.2 kB / 490.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.1216, allocations: 12.2 kB / 490.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.1216, allocations: 38.8 kB / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.1216, allocations: 0 / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001043/0.1226, allocations: 0.5482 MB / 491.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1227, allocations: 59.39 kB / 491.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.1232, allocations: 493.4 kB / 492 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1233, allocations: 29.7 kB / 492 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1234, allocations: 220.4 kB / 492.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.1235, allocations: 98.58 kB / 492.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1236, allocations: 7.938 kB / 492.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.1238, allocations: 354.8 kB / 492.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.1241, allocations: 160.5 kB / 492.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.1245, allocations: 248.3 kB / 493.1 MB, free: 9.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.1249, allocations: 195.7 kB / 493.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1249, allocations: 4 kB / 493.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008121/0.1257, allocations: 0.4892 MB / 493.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1258, allocations: 8.062 kB / 493.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1258, allocations: 4 kB / 493.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1258, allocations: 4 kB / 493.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.1267, allocations: 207.8 kB / 494 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.1307, allocations: 7.31 MB / 0.4895 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.131, allocations: 59.28 kB / 0.4896 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.1311, allocations: 23.98 kB / 0.4896 GB, free: 0.9414 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0003263/0.1314, allocations: 230.2 kB / 0.4898 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.1315, allocations: 47.66 kB / 0.4899 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1325, allocations: 0.5416 MB / 0.4904 GB, free: 116 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1326, allocations: 7.953 kB / 0.4904 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1326, allocations: 4 kB / 0.4904 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1326, allocations: 0 / 0.4904 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.1331, allocations: 413.2 kB / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1331, allocations: 0 / 0.4908 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/0.1339, allocations: 199.8 kB / 0.491 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.134, allocations: 4 kB / 0.491 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.134, allocations: 11.98 kB / 0.491 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.1377, allocations: 7.294 MB / 0.4981 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1378, allocations: 0 / 0.4981 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.1385, allocations: 0.5074 MB / 0.4986 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1386, allocations: 120.6 kB / 0.4987 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.1387, allocations: 4 kB / 0.4987 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.1389, allocations: 19.94 kB / 0.4988 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.139, allocations: 31.97 kB / 0.4988 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.139, allocations: 15.98 kB / 0.4988 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003776/0.1394, allocations: 351.1 kB / 0.4991 GB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1394, allocations: 0 / 0.4991 GB, free: 6.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000534/0.14, allocations: 127.8 kB / 0.4993 GB, free: 6.668 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: 0 () * Number of discrete states: 0 () * Number of clocked 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.001144/0.1411, allocations: 1.083 MB / 0.5003 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1425, allocations: 0.5243 MB / 0.5008 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1425, allocations: 3.938 kB / 0.5008 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.1435, allocations: 355.6 kB / 0.5012 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.1441, allocations: 117.4 kB / 0.5013 GB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.1485, allocations: 3.016 MB / 0.5042 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.149, allocations: 0.8818 MB / 0.5051 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.1494, allocations: 140.1 kB / 0.5052 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.1496, allocations: 127.4 kB / 0.5054 GB, free: 296 kB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1496, allocations: 0 / 0.5054 GB, free: 296 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2789/0.4285, allocations: 12.4 MB / 0.5175 GB, free: 39.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/0.4288, allocations: 263.2 kB / 0.5177 GB, free: 39.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/2.701, allocations: 0 / 0.5177 GB, free: 39.32 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat