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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007607/0.0007607, allocations: 96.7 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.000783/0.0007831, allocations: 167.8 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.486/1.486, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.3158/0.3158, allocations: 43.56 MB / 314.6 MB, free: 8.625 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.0005046/0.0005046, allocations: 22.97 kB / 384.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1235, allocations: 58.85 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002326/0.1258, allocations: 1.817 MB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.1282, allocations: 1.661 MB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.1284, allocations: 4 kB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1286, allocations: 47.73 kB / 446.4 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.129, allocations: 135.4 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.1297, allocations: 287 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.1303, allocations: 0.5405 MB / 447.4 MB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1304, allocations: 76.94 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.1307, allocations: 171.1 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.131, allocations: 223 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.131, allocations: 16 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008565/0.1319, allocations: 0.5498 MB / 448.4 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.132, allocations: 115.4 kB / 448.5 MB, free: 7.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.1321, allocations: 97.45 kB / 448.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005516/0.1327, allocations: 0.5141 MB / 449.1 MB, free: 6.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1327, allocations: 4 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1327, allocations: 4 kB / 449.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1327, allocations: 0 / 449.1 MB, free: 6.656 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001065/0.1338, allocations: 0.7098 MB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1338, allocations: 11.97 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.134, allocations: 106.5 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.996e-05/0.1341, allocations: 63.3 kB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1344, allocations: 310.2 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.1345, allocations: 41.3 kB / 450.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.1346, allocations: 52 kB / 450.4 MB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1357, allocations: 0.7559 MB / 451.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1357, allocations: 0 / 451.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.1357, allocations: 27.89 kB / 451.2 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.116e-05/0.1358, allocations: 57.28 kB / 451.3 MB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.137, allocations: 0.8092 MB / 452.1 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.1391, allocations: 1.508 MB / 453.6 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.1398, allocations: 448.5 kB / 454 MB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.1401, allocations: 173.1 kB / 454.2 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.1402, allocations: 8.453 kB / 454.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1402, allocations: 42.55 kB / 454.2 MB, free: 1.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.715e-06/0.1402, allocations: 3.938 kB / 454.2 MB, free: 1.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001047/0.1413, allocations: 0.552 MB / 454.8 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1413, allocations: 55.41 kB / 454.8 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/0.142, allocations: 0.5758 MB / 455.4 MB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.142, allocations: 29.7 kB / 455.5 MB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2687/0.4107, allocations: 276.7 kB / 455.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.411, allocations: 102.4 kB / 455.8 MB, free: 46.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.411, allocations: 11 kB / 455.8 MB, free: 46.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.4112, allocations: 359.9 kB / 456.2 MB, free: 46.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.4116, allocations: 194.1 kB / 456.4 MB, free: 46.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.412, allocations: 439 kB / 456.8 MB, free: 45.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.4125, allocations: 271.1 kB / 457.1 MB, free: 45.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.4125, allocations: 2.75 kB / 457.1 MB, free: 45.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001095/0.4136, allocations: 0.683 MB / 457.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.4136, allocations: 10.19 kB / 457.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4136, allocations: 12.19 kB / 457.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.4137, allocations: 11.53 kB / 457.8 MB, free: 45.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.4146, allocations: 258 kB / 458 MB, free: 45.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.4169, allocations: 7.309 MB / 465.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.4173, allocations: 90.98 kB / 465.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4174, allocations: 34.61 kB / 465.5 MB, free: 38.73 MB / 382.1 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].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (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.0003246/0.4177, allocations: 269 kB / 465.7 MB, free: 38.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.4178, allocations: 51.36 kB / 465.8 MB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.4189, allocations: 0.562 MB / 466.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.4189, allocations: 2.719 kB / 466.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4189, allocations: 3.281 kB / 466.4 MB, free: 38.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4189, allocations: 0 / 466.4 MB, free: 38.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005101/0.4194, allocations: 439.8 kB / 466.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4194, allocations: 5.156 kB / 466.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.4202, allocations: 214.7 kB / 467 MB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4202, allocations: 0 / 467 MB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.4203, allocations: 12.45 kB / 467 MB, free: 38.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002436/0.4227, allocations: 7.31 MB / 474.3 MB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4227, allocations: 0 / 474.3 MB, free: 31.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.4235, allocations: 0.5195 MB / 474.8 MB, free: 31.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4236, allocations: 125.4 kB / 475 MB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.4237, allocations: 6.609 kB / 475 MB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.4239, allocations: 11.97 kB / 475 MB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.424, allocations: 24.11 kB / 475 MB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.462e-05/0.4241, allocations: 20.58 kB / 475 MB, free: 30.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005102/0.4246, allocations: 406.8 kB / 475.4 MB, free: 30.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4246, allocations: 2.875 kB / 475.4 MB, free: 30.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007784/0.4254, allocations: 177.7 kB / 475.6 MB, free: 30.83 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.001189/0.4266, allocations: 1.173 MB / 476.8 MB, free: 30.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.428, allocations: 0.6219 MB / 477.4 MB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.428, allocations: 4 kB / 477.4 MB, free: 30.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008714/0.4289, allocations: 359.7 kB / 477.7 MB, free: 30.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.4295, allocations: 106.3 kB / 477.8 MB, free: 30.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.4339, allocations: 3.509 MB / 481.4 MB, free: 28.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4342, allocations: 0.9096 MB / 482.3 MB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003994/0.4346, allocations: 166.8 kB / 482.4 MB, free: 28.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.4349, allocations: 148.9 kB / 482.6 MB, free: 28.17 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4349, allocations: 0 / 482.6 MB, free: 28.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4694, allocations: 14.89 MB / 497.5 MB, free: 26.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.4696, allocations: 265.1 kB / 497.7 MB, free: 26.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.619, allocations: 0 / 497.7 MB, free: 26.62 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat