Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.0009333/0.0009333, allocations: 98.64 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.0008619/0.0008619, allocations: 192.2 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.362/1.362, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 45.91 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003032, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 63.47 MB / 481.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.001985/0.1286, allocations: 1.677 MB / 483.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1298, allocations: 0.8536 MB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.1299, allocations: 0 / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1301, allocations: 47.73 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1304, allocations: 115.5 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.1306, allocations: 79.73 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004289/0.131, allocations: 450 kB / 484.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.863e-05/0.1311, allocations: 44.72 kB / 484.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1313, allocations: 147.3 kB / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1315, allocations: 183.2 kB / 485.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1316, allocations: 8 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.1318, allocations: 135.7 kB / 485.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.1319, allocations: 99.56 kB / 485.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.132, allocations: 77.52 kB / 485.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1323, allocations: 299.4 kB / 485.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1323, allocations: 4 kB / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1323, allocations: 0 / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1323, allocations: 0 / 485.8 MB, free: 1.062 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.0007904/0.1331, allocations: 0.5889 MB / 486.4 MB, free: 436 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1332, allocations: 12.03 kB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.1332, allocations: 82.52 kB / 486.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.1333, allocations: 47.38 kB / 486.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1336, allocations: 274.5 kB / 486.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1336, allocations: 29 kB / 486.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.1337, allocations: 35.98 kB / 486.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/0.1345, allocations: 0.5568 MB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1345, allocations: 7.938 kB / 487.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.1346, allocations: 12 kB / 487.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/0.1346, allocations: 44.97 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.1355, allocations: 0.5777 MB / 488.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.1371, allocations: 1.168 MB / 489.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.1377, allocations: 387 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.138, allocations: 145 kB / 489.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.138, allocations: 12.17 kB / 489.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1381, allocations: 30.75 kB / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1381, allocations: 0 / 489.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009267/0.139, allocations: 488.7 kB / 490.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.139, allocations: 51.41 kB / 490.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004374/0.1395, allocations: 449.6 kB / 490.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1395, allocations: 33.7 kB / 490.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1396, allocations: 188.3 kB / 491 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.1397, allocations: 78.89 kB / 491.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.1397, allocations: 8 kB / 491.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1399, allocations: 350.8 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1401, allocations: 115.9 kB / 491.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1403, allocations: 127.8 kB / 491.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1406, allocations: 131.9 kB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1406, allocations: 0 / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005959/0.1412, allocations: 360.5 kB / 492.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1412, allocations: 4 kB / 492.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1412, allocations: 0 / 492.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1413, allocations: 7.984 kB / 492.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.142, allocations: 155.9 kB / 492.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.1445, allocations: 5.52 MB / 497.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.1448, allocations: 55.39 kB / 497.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.1448, allocations: 11.95 kB / 497.9 MB, free: 4.562 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.000195/0.145, allocations: 189.9 kB / 498.1 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1451, allocations: 39.53 kB / 498.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008738/0.146, allocations: 468.4 kB / 498.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.146, allocations: 0 / 498.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.146, allocations: 4 kB / 498.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.146, allocations: 0 / 498.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1464, allocations: 373.2 kB / 499 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1464, allocations: 0 / 499 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.1471, allocations: 163.9 kB / 499.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1471, allocations: 0 / 499.1 MB, free: 3.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1472, allocations: 8 kB / 499.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.1497, allocations: 5.524 MB / 0.4928 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1497, allocations: 3.938 kB / 0.4928 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006396/0.1504, allocations: 459 kB / 0.4933 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.1505, allocations: 112.7 kB / 0.4934 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.1506, allocations: 11.98 kB / 0.4934 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1508, allocations: 16 kB / 0.4934 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.1508, allocations: 15.97 kB / 0.4934 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1509, allocations: 19.92 kB / 0.4934 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.1512, allocations: 331.1 kB / 0.4937 GB, free: 12.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1512, allocations: 0 / 0.4937 GB, free: 12.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.1516, allocations: 99.91 kB / 0.4938 GB, free: 12.46 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 (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.001011/0.1526, allocations: 1.032 MB / 0.4948 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1537, allocations: 399.7 kB / 0.4952 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1538, allocations: 4 kB / 0.4952 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.1545, allocations: 279.7 kB / 0.4955 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.1551, allocations: 89.44 kB / 0.4956 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1587, allocations: 2.684 MB / 0.4982 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1591, allocations: 0.8504 MB / 0.499 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002398/0.1594, allocations: 83.22 kB / 0.4991 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.1596, allocations: 111.4 kB / 0.4992 GB, free: 6.852 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1596, allocations: 0 / 0.4992 GB, free: 6.852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2494/0.409, allocations: 10.41 MB / 0.5094 GB, free: 42.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.4092, allocations: 263.2 kB / 0.5096 GB, free: 42.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.46, allocations: 0 / 0.5096 GB, free: 42.12 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat