Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001245/0.001245, allocations: 98.06 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 178.3 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.23 MB / 337.1 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 61.93 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002317/0.1406, allocations: 1.606 MB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.1432, allocations: 1.575 MB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1434, allocations: 4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1437, allocations: 43.8 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.144, allocations: 95.64 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.1448, allocations: 299.1 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.1451, allocations: 251.5 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1452, allocations: 40.72 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.1455, allocations: 115.5 kB / 475.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1457, allocations: 147.3 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1457, allocations: 8 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008538/0.1466, allocations: 0.5383 MB / 476.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1467, allocations: 87.7 kB / 476.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.1468, allocations: 77.45 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.1473, allocations: 387.4 kB / 476.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1473, allocations: 4 kB / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1474, allocations: 0 / 476.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1474, allocations: 0 / 476.8 MB, free: 8.336 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001071/0.1484, allocations: 0.6161 MB / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1485, allocations: 12.03 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.1486, allocations: 82.52 kB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.1487, allocations: 43.44 kB / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.1491, allocations: 278.4 kB / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.1491, allocations: 29 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-05/0.1492, allocations: 43.92 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00081/0.15, allocations: 0.549 MB / 478.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.15, allocations: 0 / 478.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.15, allocations: 12 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.1501, allocations: 48.91 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.151, allocations: 0.5777 MB / 479.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.1528, allocations: 1.195 MB / 480.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.1535, allocations: 384 kB / 480.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.1535, allocations: 8.172 kB / 480.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1535, allocations: 46.77 kB / 480.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1535, allocations: 0 / 480.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009501/0.1545, allocations: 476.1 kB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1546, allocations: 55.41 kB / 481.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.155, allocations: 445.6 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1551, allocations: 33.7 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1552, allocations: 188.4 kB / 481.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.1553, allocations: 70.86 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.1553, allocations: 4 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1555, allocations: 354.8 kB / 482.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1557, allocations: 119.9 kB / 482.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.156, allocations: 122.1 kB / 482.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.1563, allocations: 139.8 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1563, allocations: 0 / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006278/0.1569, allocations: 355.9 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.157, allocations: 8 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.157, allocations: 4 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.157, allocations: 0 / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.1578, allocations: 151.8 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/0.1607, allocations: 5.516 MB / 488.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.161, allocations: 51.45 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.1611, allocations: 8 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002847/0.1614, allocations: 190.2 kB / 489 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.1614, allocations: 39.48 kB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009334/0.1624, allocations: 464.6 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.1624, allocations: 4 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1624, allocations: 0 / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1624, allocations: 3.984 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.1629, allocations: 377.3 kB / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1629, allocations: 0 / 489.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.1636, allocations: 151.8 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.1637, allocations: 3.953 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1637, allocations: 11.98 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.1666, allocations: 5.516 MB / 495.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1667, allocations: 3.984 kB / 495.5 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.1674, allocations: 458.9 kB / 496 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1675, allocations: 124.6 kB / 496.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.1676, allocations: 0 / 496.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.1678, allocations: 15.98 kB / 496.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.1678, allocations: 23.95 kB / 496.1 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.1679, allocations: 11.98 kB / 496.1 MB, free: 4.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003523/0.1683, allocations: 335.1 kB / 496.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1683, allocations: 4 kB / 496.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.1688, allocations: 139.8 kB / 496.6 MB, free: 3.812 MB / 366.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.001212/0.17, allocations: 1.101 MB / 497.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.1712, allocations: 415.5 kB / 498.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1712, allocations: 3.938 kB / 498.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.1721, allocations: 283.7 kB / 498.4 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1725, allocations: 82.31 kB / 498.5 MB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.1762, allocations: 2.647 MB / 0.4894 GB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1767, allocations: 0.8658 MB / 0.4902 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.1769, allocations: 87.16 kB / 0.4903 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.1771, allocations: 111.4 kB / 0.4904 GB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1771, allocations: 0 / 0.4904 GB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.2028, allocations: 11.55 MB / 0.5017 GB, free: 2.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.2031, allocations: 252.8 kB / 0.5019 GB, free: 2.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.222, allocations: 0 / 0.5019 GB, free: 2.578 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat