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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002118/0.002118, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.45 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.2251/0.2251, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.002205/0.002205, allocations: 80.08 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3363, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003483/0.3398, allocations: 2.124 MB / 0.5327 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3431, allocations: 2.164 MB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3433, allocations: 2.844 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.3436, allocations: 71.02 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.3439, allocations: 102.7 kB / 0.535 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.345, allocations: 430.3 kB / 0.5354 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.3455, allocations: 453.9 kB / 0.5358 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.3456, allocations: 45.03 kB / 0.5359 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.346, allocations: 167.4 kB / 0.536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3463, allocations: 191.7 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3463, allocations: 14.12 kB / 0.5362 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3474, allocations: 0.6243 MB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3476, allocations: 118.4 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.3478, allocations: 172.3 kB / 0.5371 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.349, allocations: 0.726 MB / 0.5378 GB, free: 8.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.349, allocations: 0 / 0.5378 GB, free: 8.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.349, allocations: 3.938 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.349, allocations: 1.156 kB / 0.5378 GB, free: 8.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001545/0.3506, allocations: 0.7817 MB / 0.5386 GB, free: 7.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3506, allocations: 9.75 kB / 0.5386 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3507, allocations: 83.05 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.3512, allocations: 82.48 kB / 0.5388 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.3517, allocations: 315.5 kB / 0.5391 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.3518, allocations: 33.09 kB / 0.5391 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.3518, allocations: 37.84 kB / 0.5391 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3529, allocations: 0.5779 MB / 0.5397 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3529, allocations: 1.312 kB / 0.5397 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.3529, allocations: 14.84 kB / 0.5397 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.353, allocations: 27.23 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.3538, allocations: 429.3 kB / 0.5402 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.356, allocations: 1.394 MB / 0.5415 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.3566, allocations: 271.4 kB / 0.5418 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.357, allocations: 144 kB / 0.5419 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.357, allocations: 8.453 kB / 0.5419 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3571, allocations: 36.06 kB / 0.542 GB, free: 5.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.3571, allocations: 5.062 kB / 0.542 GB, free: 5.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001226/0.3583, allocations: 459.8 kB / 0.5424 GB, free: 4.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.3584, allocations: 111.9 kB / 0.5425 GB, free: 4.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/0.3591, allocations: 0.545 MB / 0.543 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.3591, allocations: 34.89 kB / 0.5431 GB, free: 4.434 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.3593, allocations: 211.6 kB / 0.5433 GB, free: 4.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.3594, allocations: 66.95 kB / 0.5433 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.3595, allocations: 53.88 kB / 0.5434 GB, free: 4.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3597, allocations: 351.1 kB / 0.5437 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.36, allocations: 126.2 kB / 0.5438 GB, free: 3.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.3604, allocations: 176.5 kB / 0.544 GB, free: 3.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.3611, allocations: 301.4 kB / 0.5443 GB, free: 3.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3611, allocations: 0 / 0.5443 GB, free: 3.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008743/0.362, allocations: 385 kB / 0.5447 GB, free: 3.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.362, allocations: 11.88 kB / 0.5447 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.3621, allocations: 31.98 kB / 0.5447 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3621, allocations: 4 kB / 0.5447 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3624, allocations: 27.97 kB / 0.5447 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3624, allocations: 4 kB / 0.5447 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.3627, allocations: 63.75 kB / 0.5448 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3628, allocations: 12 kB / 0.5448 GB, free: 2.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.363, allocations: 197.6 kB / 0.545 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3631, allocations: 47.66 kB / 0.545 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/0.364, allocations: 383.9 kB / 0.5454 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.364, allocations: 7.984 kB / 0.5454 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.364, allocations: 4 kB / 0.5454 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.364, allocations: 0 / 0.5454 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3647, allocations: 369.4 kB / 0.5458 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-05/0.3648, allocations: 31.98 kB / 0.5458 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.3649, allocations: 31.84 kB / 0.5458 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3649, allocations: 4 kB / 0.5458 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.365, allocations: 4 kB / 0.5458 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.365, allocations: 4 kB / 0.5458 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.365, allocations: 0 / 0.5458 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.3659, allocations: 0.5834 MB / 0.5464 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3662, allocations: 160.7 kB / 0.5466 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.3662, allocations: 7.938 kB / 0.5466 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.3665, allocations: 19.98 kB / 0.5466 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.3666, allocations: 23.91 kB / 0.5466 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.3667, allocations: 8 kB / 0.5466 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005089/0.3672, allocations: 415 kB / 0.547 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3672, allocations: 0 / 0.547 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006461/0.3678, allocations: 155.6 kB / 0.5472 GB, free: 360 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001634/0.3695, allocations: 1.253 MB / 0.5484 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009455/0.3704, allocations: 0.5169 MB / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3704, allocations: 0 / 0.5489 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.371, allocations: 392 kB / 0.5493 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.3717, allocations: 98 kB / 0.5494 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.3788, allocations: 4.945 MB / 0.5542 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.3793, allocations: 0.869 MB / 0.555 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.3796, allocations: 59.25 kB / 0.5551 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3797, allocations: 119.4 kB / 0.5552 GB, free: 7.824 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3797, allocations: 0 / 0.5552 GB, free: 7.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.4194, allocations: 13.23 MB / 0.5681 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.546/8.965, allocations: 23.09 kB / 0.5682 GB, free: 10.8 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1)