Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001561, allocations: 187.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.189/2.189, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3086/0.3086, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006526/0.000653, allocations: 12 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1336, allocations: 58.85 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003128/0.1368, allocations: 1.622 MB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.1389, allocations: 0.843 MB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1391, allocations: 4 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1395, allocations: 55.72 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.1399, allocations: 83.72 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1403, allocations: 79.84 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.1408, allocations: 247.5 kB / 493.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1409, allocations: 44.72 kB / 493.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1412, allocations: 119.4 kB / 493.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.1414, allocations: 143.4 kB / 493.6 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.1415, allocations: 12 kB / 493.6 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.1421, allocations: 147.8 kB / 493.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1422, allocations: 83.7 kB / 493.8 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1423, allocations: 77.52 kB / 493.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.1429, allocations: 279.6 kB / 494.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.143, allocations: 0 / 494.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.143, allocations: 0 / 494.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.143, allocations: 0 / 494.1 MB, free: 5.375 MB / 330.7 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.00145/0.1444, allocations: 0.5927 MB / 494.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.1445, allocations: 8.031 kB / 494.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.1447, allocations: 90.45 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1448, allocations: 43.48 kB / 494.9 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005126/0.1453, allocations: 270.5 kB / 495.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.1454, allocations: 28.98 kB / 495.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1455, allocations: 32 kB / 495.2 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.1469, allocations: 0.5568 MB / 495.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.147, allocations: 0 / 495.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.1471, allocations: 20 kB / 495.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1472, allocations: 48.89 kB / 495.8 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1489, allocations: 0.5777 MB / 496.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.1519, allocations: 1.195 MB / 497.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1532, allocations: 384.1 kB / 498 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.1533, allocations: 8.172 kB / 498 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1533, allocations: 34.75 kB / 498 MB, free: 1.328 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.467e-06/0.1533, allocations: 0 / 498 MB, free: 1.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001831/0.1552, allocations: 483 kB / 498.5 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1553, allocations: 51.41 kB / 498.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.1561, allocations: 449.6 kB / 499 MB, free: 352 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.1562, allocations: 29.7 kB / 499 MB, free: 316 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1564, allocations: 230.8 kB / 499.2 MB, free: 84 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.1565, allocations: 78.91 kB / 499.3 MB, free: 4 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1566, allocations: 4 kB / 499.3 MB, free: 0 / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1568, allocations: 322.9 kB / 499.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.1572, allocations: 119.8 kB / 499.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.1577, allocations: 124 kB / 499.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.1582, allocations: 143.8 kB / 0.4883 GB, free: 15.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1582, allocations: 0 / 0.4883 GB, free: 15.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001139/0.1594, allocations: 321.3 kB / 0.4886 GB, free: 14.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1594, allocations: 8 kB / 0.4886 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1595, allocations: 0 / 0.4886 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1595, allocations: 4 kB / 0.4886 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.161, allocations: 147.9 kB / 0.4887 GB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.1657, allocations: 5.524 MB / 0.4941 GB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.1663, allocations: 55.34 kB / 0.4942 GB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.1663, allocations: 8 kB / 0.4942 GB, free: 9.02 MB / 346.7 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.0003734/0.1667, allocations: 193.5 kB / 0.4944 GB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1668, allocations: 39.53 kB / 0.4944 GB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.1685, allocations: 464.5 kB / 0.4949 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.1685, allocations: 0 / 0.4949 GB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.1685, allocations: 4 kB / 0.4949 GB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1685, allocations: 7.984 kB / 0.4949 GB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008324/0.1694, allocations: 377.2 kB / 0.4952 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1694, allocations: 0 / 0.4952 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.1709, allocations: 151.8 kB / 0.4954 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.171, allocations: 7.938 kB / 0.4954 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.171, allocations: 11.98 kB / 0.4954 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.1754, allocations: 5.52 MB / 0.5008 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1755, allocations: 0 / 0.5008 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1767, allocations: 463.7 kB / 0.5012 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.177, allocations: 116.6 kB / 0.5013 GB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.1771, allocations: 4 kB / 0.5014 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.1775, allocations: 11.98 kB / 0.5014 GB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.1776, allocations: 23.97 kB / 0.5014 GB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.1777, allocations: 15.98 kB / 0.5014 GB, free: 1.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006129/0.1783, allocations: 331.1 kB / 0.5017 GB, free: 1.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1783, allocations: 0 / 0.5017 GB, free: 1.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006104/0.179, allocations: 103.8 kB / 0.5018 GB, free: 0.918 MB / 346.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 () * 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.001882/0.1809, allocations: 1.028 MB / 0.5028 GB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.1832, allocations: 411.5 kB / 0.5032 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.1833, allocations: 0 / 0.5032 GB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.185, allocations: 279.7 kB / 0.5035 GB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.1858, allocations: 86.56 kB / 0.5036 GB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006615/0.1924, allocations: 2.661 MB / 0.5062 GB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.1931, allocations: 0.8503 MB / 0.507 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.1934, allocations: 111.4 kB / 0.5071 GB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 2.021e-05/0.1935, allocations: 4 kB / 0.5071 GB, free: 11.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.91/4.104, allocations: 20.44 MB / 0.5271 GB, free: 44.46 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat