Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001308/0.001308, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 81 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1203, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.003592/0.124, allocations: 2.027 MB / 482.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1255, allocations: 0.9307 MB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.1256, allocations: 0 / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1259, allocations: 59.64 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1263, allocations: 123.4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1266, allocations: 87.64 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.127, allocations: 382.2 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.1271, allocations: 44.72 kB / 483.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.1274, allocations: 159.2 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1276, allocations: 187.1 kB / 484.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.1277, allocations: 8 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.128, allocations: 139.8 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1281, allocations: 99.52 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.1283, allocations: 154.9 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.1288, allocations: 434.6 kB / 485 MB, free: 296 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1288, allocations: 3.938 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1288, allocations: 0 / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1288, allocations: 0 / 485 MB, free: 292 kB / 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.001064/0.1299, allocations: 0.6552 MB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1299, allocations: 8.031 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.979e-05/0.13, allocations: 82.7 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.1301, allocations: 40.47 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1305, allocations: 287.6 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1305, allocations: 25.36 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1306, allocations: 36.38 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.1315, allocations: 0.5569 MB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1315, allocations: 0 / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1316, allocations: 15.98 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.1316, allocations: 40.98 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.1326, allocations: 0.5776 MB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.1344, allocations: 1.171 MB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.1351, allocations: 377.2 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1354, allocations: 144.9 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.1355, allocations: 11.97 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1355, allocations: 30.56 kB / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1355, allocations: 0 / 489.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001041/0.1366, allocations: 464.8 kB / 489.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1366, allocations: 55.41 kB / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.1372, allocations: 449.6 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1372, allocations: 33.7 kB / 490 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1374, allocations: 188.3 kB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.1375, allocations: 74.91 kB / 490.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1376, allocations: 49.7 kB / 490.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1378, allocations: 354.7 kB / 490.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.1381, allocations: 119.8 kB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.1383, allocations: 123.4 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.1389, allocations: 256.6 kB / 491.2 MB, free: 9.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1389, allocations: 4 kB / 491.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007447/0.1396, allocations: 346.1 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1397, allocations: 14.59 kB / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1397, allocations: 0 / 491.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1397, allocations: 3.938 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.1405, allocations: 155.9 kB / 491.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/0.1442, allocations: 5.512 MB / 497.2 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1444, allocations: 51.39 kB / 497.3 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.1445, allocations: 12 kB / 497.3 MB, free: 3.598 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.1447, allocations: 197.6 kB / 497.5 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.1448, allocations: 31.81 kB / 497.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009052/0.1457, allocations: 455.8 kB / 497.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1457, allocations: 7.938 kB / 497.9 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.1457, allocations: 7.984 kB / 498 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1457, allocations: 0 / 498 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1463, allocations: 381.2 kB / 498.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1463, allocations: 0 / 498.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006784/0.147, allocations: 151.9 kB / 498.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.147, allocations: 7.984 kB / 498.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.147, allocations: 8 kB / 498.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.1505, allocations: 5.512 MB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1506, allocations: 3.938 kB / 0.4922 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/0.1513, allocations: 446.8 kB / 0.4926 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.1515, allocations: 120.6 kB / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.63e-05/0.1516, allocations: 0 / 0.4927 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1518, allocations: 11.98 kB / 0.4927 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/0.1519, allocations: 31.97 kB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.1519, allocations: 8 kB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004067/0.1523, allocations: 339.1 kB / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1523, allocations: 0 / 0.4931 GB, free: 11.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004007/0.1527, allocations: 95.98 kB / 0.4932 GB, free: 11.52 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 (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/0.154, allocations: 1.008 MB / 0.4942 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1553, allocations: 446.4 kB / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1553, allocations: 0 / 0.4946 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.1562, allocations: 271.7 kB / 0.4949 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1567, allocations: 93.38 kB / 0.495 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.1633, allocations: 4.442 MB / 0.4993 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.1639, allocations: 0.8542 MB / 0.5001 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.1642, allocations: 79.22 kB / 0.5002 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.1644, allocations: 115.4 kB / 0.5003 GB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1644, allocations: 0 / 0.5003 GB, free: 4.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2198/0.3842, allocations: 11.34 MB / 0.5114 GB, free: 43.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.21, allocations: 13.72 kB / 0.5114 GB, free: 43.11 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1)