Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0007303/0.0007303, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007834/0.0007835, allocations: 173 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3202/0.3202, allocations: 43.55 MB / 314.6 MB, free: 9.023 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 19.98 kB / 384 MB, free: 8.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002158/0.1139, allocations: 1.774 MB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.1152, allocations: 0.835 MB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.1152, allocations: 0 / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1154, allocations: 51.72 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.1158, allocations: 131.4 kB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.116, allocations: 79.78 kB / 445.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.1165, allocations: 0.525 MB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.1166, allocations: 64.62 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1168, allocations: 159.2 kB / 446.5 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.117, allocations: 223 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1171, allocations: 8 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.1174, allocations: 247.6 kB / 447 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.1175, allocations: 99.52 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.975e-05/0.1176, allocations: 89.45 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.118, allocations: 367 kB / 447.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.118, allocations: 3.938 kB / 447.5 MB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.118, allocations: 4 kB / 447.5 MB, free: 8.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.118, allocations: 0 / 447.5 MB, free: 8.5 MB / 382.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.0008832/0.1189, allocations: 0.6394 MB / 448.2 MB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1189, allocations: 12.03 kB / 448.2 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.119, allocations: 98.5 kB / 448.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.1191, allocations: 47.39 kB / 448.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1194, allocations: 298.3 kB / 448.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1194, allocations: 33 kB / 448.6 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.1195, allocations: 43.98 kB / 448.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.1204, allocations: 0.6601 MB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1205, allocations: 0 / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1205, allocations: 23.94 kB / 449.4 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.484e-05/0.1206, allocations: 53.28 kB / 449.4 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1216, allocations: 0.6999 MB / 450.1 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.1234, allocations: 1.344 MB / 451.5 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.1241, allocations: 452.4 kB / 451.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.1244, allocations: 161.2 kB / 452.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.1244, allocations: 16.39 kB / 452.1 MB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1245, allocations: 34.56 kB / 452.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1245, allocations: 0 / 452.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001017/0.1255, allocations: 0.552 MB / 452.7 MB, free: 3.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1255, allocations: 55.41 kB / 452.7 MB, free: 3.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.126, allocations: 489.5 kB / 453.2 MB, free: 2.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.1261, allocations: 37.7 kB / 453.2 MB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1262, allocations: 212.4 kB / 453.4 MB, free: 2.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.1263, allocations: 102.7 kB / 453.5 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.1263, allocations: 7.938 kB / 453.6 MB, free: 2.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1265, allocations: 350.8 kB / 453.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1268, allocations: 160.5 kB / 454.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.1271, allocations: 252.2 kB / 454.3 MB, free: 1.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.1274, allocations: 204 kB / 454.5 MB, free: 1.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1275, allocations: 0 / 454.5 MB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007841/0.1282, allocations: 0.489 MB / 455 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1283, allocations: 11.95 kB / 455 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1283, allocations: 0 / 455 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1283, allocations: 11.98 kB / 455 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008414/0.1292, allocations: 207.8 kB / 455.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2309/0.36, allocations: 7.292 MB / 462.5 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.3604, allocations: 66.34 kB / 462.6 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3605, allocations: 22.42 kB / 462.6 MB, free: 39.54 MB / 382.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.0002773/0.3608, allocations: 223.3 kB / 462.8 MB, free: 39.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3608, allocations: 40.66 kB / 462.9 MB, free: 39.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.3618, allocations: 0.5479 MB / 463.4 MB, free: 39.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.3618, allocations: 2.844 kB / 463.4 MB, free: 39.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3618, allocations: 0 / 463.4 MB, free: 39.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3619, allocations: 3.188 kB / 463.4 MB, free: 39.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.3623, allocations: 413.9 kB / 463.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3623, allocations: 3.875 kB / 463.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.363, allocations: 199 kB / 464 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3631, allocations: 0 / 464 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3631, allocations: 13.3 kB / 464 MB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.3653, allocations: 7.293 MB / 471.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3653, allocations: 4.016 kB / 471.3 MB, free: 32.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.366, allocations: 0.5114 MB / 471.8 MB, free: 31.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.366, allocations: 124.1 kB / 472 MB, free: 31.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.3661, allocations: 6.438 kB / 472 MB, free: 31.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3663, allocations: 12.97 kB / 472 MB, free: 31.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.3664, allocations: 25.83 kB / 472 MB, free: 31.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3664, allocations: 16.42 kB / 472 MB, free: 31.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.3667, allocations: 351.5 kB / 472.4 MB, free: 31.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3667, allocations: 2.219 kB / 472.4 MB, free: 31.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000437/0.3672, allocations: 125.5 kB / 472.5 MB, free: 31.76 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.0009611/0.3681, allocations: 1.083 MB / 473.6 MB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.3694, allocations: 0.5298 MB / 474.1 MB, free: 31.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3694, allocations: 0 / 474.1 MB, free: 31.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008216/0.3702, allocations: 350.8 kB / 474.4 MB, free: 31.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.3708, allocations: 109.5 kB / 474.5 MB, free: 31.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.3745, allocations: 3.045 MB / 477.6 MB, free: 30.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3748, allocations: 0.8774 MB / 478.5 MB, free: 29.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003366/0.3751, allocations: 138.5 kB / 478.6 MB, free: 29.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3753, allocations: 131.8 kB / 478.7 MB, free: 29.44 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3753, allocations: 0 / 478.7 MB, free: 29.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.4025, allocations: 12.41 MB / 491.1 MB, free: 28.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.4027, allocations: 264.5 kB / 491.4 MB, free: 28.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.527, allocations: 0 / 491.4 MB, free: 28.07 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat