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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_1_0-beta_om_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 trunk/package.mo): time 0.001269/0.001268, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2259/0.2259, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002266/0.002267, allocations: 84.02 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1209, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003816/0.1248, allocations: 2.021 MB / 482.3 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.1279, allocations: 1.865 MB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.128, allocations: 0 / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.1285, allocations: 63.59 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1289, allocations: 119.4 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.1297, allocations: 354.6 kB / 484.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.1301, allocations: 382.2 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.1302, allocations: 52.7 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1305, allocations: 151.2 kB / 485.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1308, allocations: 175.3 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1308, allocations: 16 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009082/0.1317, allocations: 0.5575 MB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1319, allocations: 99.53 kB / 486.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.132, allocations: 154.9 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1331, allocations: 0.6426 MB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1331, allocations: 0 / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1331, allocations: 0 / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1331, allocations: 3.938 kB / 486.9 MB, free: 14.44 MB / 366.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.001269/0.1344, allocations: 0.6809 MB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1345, allocations: 12.03 kB / 487.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.1346, allocations: 82.72 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.1347, allocations: 44.45 kB / 487.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.135, allocations: 275.6 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.1351, allocations: 25.38 kB / 488 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.1351, allocations: 36.38 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.136, allocations: 0.5686 MB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1361, allocations: 0 / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.1361, allocations: 16 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.1362, allocations: 36.97 kB / 488.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1372, allocations: 0.5737 MB / 489.2 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.139, allocations: 1.171 MB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1397, allocations: 381.2 kB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.14, allocations: 144.8 kB / 490.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.14, allocations: 7.984 kB / 490.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.1401, allocations: 38.56 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.1401, allocations: 0 / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001062/0.1411, allocations: 464.3 kB / 491.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1412, allocations: 55.41 kB / 491.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.1417, allocations: 453.6 kB / 491.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1417, allocations: 25.7 kB / 491.9 MB, free: 9.191 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1419, allocations: 188.4 kB / 492.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.142, allocations: 78.84 kB / 492.2 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.1421, allocations: 57.62 kB / 492.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1423, allocations: 350.8 kB / 492.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.1425, allocations: 119.9 kB / 492.7 MB, free: 8.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.1428, allocations: 119.9 kB / 492.8 MB, free: 8.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.1433, allocations: 260.6 kB / 493.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1433, allocations: 0 / 493.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006687/0.144, allocations: 338.1 kB / 493.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.144, allocations: 7.938 kB / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1441, allocations: 0 / 493.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1441, allocations: 8 kB / 493.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007911/0.1449, allocations: 155.9 kB / 493.5 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.1484, allocations: 5.516 MB / 499.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.1487, allocations: 47.83 kB / 499.1 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.1487, allocations: 15.98 kB / 499.1 MB, free: 1.727 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.0002504/0.149, allocations: 189.6 kB / 499.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.149, allocations: 31.62 kB / 499.3 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009582/0.15, allocations: 471.9 kB / 499.8 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.15, allocations: 4 kB / 499.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.15, allocations: 0 / 499.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.15, allocations: 0 / 499.8 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.1505, allocations: 385.2 kB / 0.4885 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1506, allocations: 0 / 0.4885 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007105/0.1513, allocations: 151.9 kB / 0.4886 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1513, allocations: 0 / 0.4886 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1513, allocations: 8 kB / 0.4886 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.1547, allocations: 5.52 MB / 0.494 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1547, allocations: 7.875 kB / 0.494 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.1555, allocations: 443 kB / 0.4944 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.1556, allocations: 124.5 kB / 0.4946 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.1557, allocations: 4 kB / 0.4946 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1559, allocations: 4 kB / 0.4946 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.156, allocations: 31.89 kB / 0.4946 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.156, allocations: 11.98 kB / 0.4946 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004191/0.1565, allocations: 335.1 kB / 0.4949 GB, free: 9.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.937e-06/0.1565, allocations: 0 / 0.4949 GB, free: 9.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.157, allocations: 147.8 kB / 0.4951 GB, free: 9.602 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.001381/0.1584, allocations: 1.09 MB / 0.4961 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1597, allocations: 442.5 kB / 0.4966 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1597, allocations: 0 / 0.4966 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008834/0.1606, allocations: 275.7 kB / 0.4968 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1611, allocations: 97.42 kB / 0.4969 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.1671, allocations: 4.458 MB / 0.5013 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.1676, allocations: 0.8504 MB / 0.5021 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.1679, allocations: 83.22 kB / 0.5022 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.168, allocations: 111.4 kB / 0.5023 GB, free: 2.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.168, allocations: 0 / 0.5023 GB, free: 2.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/0.3769, allocations: 12.8 MB / 0.5148 GB, free: 41.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.41, allocations: 7.828 kB / 0.5148 GB, free: 41.17 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1)