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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 205.2 kB / 18.74 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.432/1.432, allocations: 227.4 MB / 247 MB, free: 10.42 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.2222/0.2222, allocations: 46.12 MB / 344.4 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.003316/0.003316, allocations: 83.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3416, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003651/0.3453, allocations: 2.084 MB / 0.5327 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3476, allocations: 1.33 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3477, allocations: 1.906 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.3481, allocations: 73.7 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3483, allocations: 78.05 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.349, allocations: 209.9 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.3495, allocations: 433.2 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.3496, allocations: 50.95 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.3498, allocations: 151.9 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.3501, allocations: 175.1 kB / 0.5351 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.3501, allocations: 11.94 kB / 0.5351 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005219/0.3507, allocations: 272 kB / 0.5353 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3508, allocations: 80.14 kB / 0.5354 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.351, allocations: 169.6 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.3517, allocations: 0.525 MB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3517, allocations: 0 / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3517, allocations: 0 / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3517, allocations: 1.312 kB / 0.5361 GB, free: 9.379 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001187/0.3529, allocations: 0.729 MB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.353, allocations: 13.75 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.3531, allocations: 79 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004337/0.3535, allocations: 82.08 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.3539, allocations: 289.1 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.354, allocations: 27.84 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.354, allocations: 36.19 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/0.355, allocations: 0.5537 MB / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3551, allocations: 0.8438 kB / 0.5379 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3551, allocations: 18.78 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.3551, allocations: 21.47 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.356, allocations: 415.4 kB / 0.5383 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.3579, allocations: 1.285 MB / 0.5395 GB, free: 6.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.3585, allocations: 276.6 kB / 0.5398 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.3588, allocations: 137.9 kB / 0.5399 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.3589, allocations: 7.359 kB / 0.5399 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3589, allocations: 44.69 kB / 0.54 GB, free: 6.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.3589, allocations: 0 / 0.54 GB, free: 6.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001209/0.3601, allocations: 469.9 kB / 0.5404 GB, free: 6.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.3602, allocations: 104.7 kB / 0.5405 GB, free: 6.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.3609, allocations: 0.4922 MB / 0.541 GB, free: 5.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.3609, allocations: 30.8 kB / 0.541 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3611, allocations: 209.7 kB / 0.5412 GB, free: 5.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.3612, allocations: 71.47 kB / 0.5413 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3613, allocations: 59.08 kB / 0.5414 GB, free: 5.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3615, allocations: 355.8 kB / 0.5417 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.3619, allocations: 138.1 kB / 0.5418 GB, free: 5.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.3623, allocations: 214.5 kB / 0.542 GB, free: 5.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.363, allocations: 367.7 kB / 0.5424 GB, free: 4.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3631, allocations: 0 / 0.5424 GB, free: 4.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009172/0.364, allocations: 429.5 kB / 0.5428 GB, free: 4.637 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.364, allocations: 10.84 kB / 0.5428 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-05/0.3641, allocations: 32.42 kB / 0.5428 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3641, allocations: 7.469 kB / 0.5429 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3643, allocations: 37.31 kB / 0.5429 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3643, allocations: 3.5 kB / 0.5429 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.3646, allocations: 53.08 kB / 0.5429 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.3647, allocations: 16.5 kB / 0.543 GB, free: 4.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * 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.0002259/0.3649, allocations: 209 kB / 0.5432 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.3651, allocations: 46.06 kB / 0.5432 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.3659, allocations: 399.4 kB / 0.5436 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3659, allocations: 4 kB / 0.5436 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3659, allocations: 4 kB / 0.5436 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3659, allocations: 0 / 0.5436 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/0.3665, allocations: 365.3 kB / 0.5439 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.643e-05/0.3666, allocations: 39.92 kB / 0.544 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3667, allocations: 31.84 kB / 0.544 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3668, allocations: 0 / 0.544 GB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.3668, allocations: 12 kB / 0.544 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3668, allocations: 0 / 0.544 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3668, allocations: 3.984 kB / 0.544 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.3677, allocations: 0.5796 MB / 0.5446 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3678, allocations: 116.9 kB / 0.5447 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.3679, allocations: 8 kB / 0.5447 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.3682, allocations: 15.98 kB / 0.5447 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.3683, allocations: 27.91 kB / 0.5448 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3683, allocations: 8 kB / 0.5448 GB, free: 2.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004264/0.3687, allocations: 363.1 kB / 0.5451 GB, free: 2.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3687, allocations: 0 / 0.5451 GB, free: 2.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000618/0.3694, allocations: 127.7 kB / 0.5452 GB, free: 2.332 MB / 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.001571/0.3709, allocations: 1.198 MB / 0.5464 GB, free: 1.105 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.3719, allocations: 0.5419 MB / 0.5469 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3719, allocations: 0 / 0.5469 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.3725, allocations: 391.8 kB / 0.5473 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.3732, allocations: 102.1 kB / 0.5474 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/0.38, allocations: 4.669 MB / 0.552 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.3806, allocations: 0.8497 MB / 0.5528 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.3808, allocations: 63.22 kB / 0.5528 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.381, allocations: 117.9 kB / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.381, allocations: 4 kB / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.4173, allocations: 11.91 MB / 0.5646 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/9.115, allocations: 16.61 kB / 0.5646 GB, free: 14.39 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)