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.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 117.6 kB / 17.79 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.001422/0.001422, allocations: 199.9 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.512/1.512, allocations: 227.4 MB / 247 MB, free: 10.41 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.2314/0.2314, allocations: 46.12 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.002606/0.002606, allocations: 83.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3378, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.00353/0.3414, allocations: 2.24 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.3445, allocations: 2.155 MB / 0.5349 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.3446, allocations: 6.75 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.345, allocations: 68.08 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.3452, allocations: 101.2 kB / 0.5351 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.3463, allocations: 435.6 kB / 0.5355 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00057/0.3469, allocations: 0.5097 MB / 0.536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.347, allocations: 65.38 kB / 0.5361 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3473, allocations: 185.2 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3476, allocations: 202.6 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.3476, allocations: 13.97 kB / 0.5364 GB, free: 8.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3487, allocations: 0.6635 MB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.3488, allocations: 101.2 kB / 0.5372 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.349, allocations: 205.5 kB / 0.5374 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3501, allocations: 0.8042 MB / 0.5382 GB, free: 7.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3501, allocations: 4 kB / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3501, allocations: 0 / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3501, allocations: 0 / 0.5382 GB, free: 7.832 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001332/0.3515, allocations: 0.8248 MB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3515, allocations: 9.344 kB / 0.539 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.3516, allocations: 95.77 kB / 0.5391 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.352, allocations: 90.69 kB / 0.5392 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.3525, allocations: 315 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.3525, allocations: 37.94 kB / 0.5395 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/0.3526, allocations: 51.84 kB / 0.5395 GB, free: 6.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3537, allocations: 0.696 MB / 0.5402 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3537, allocations: 0 / 0.5402 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.3537, allocations: 20.34 kB / 0.5402 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.3538, allocations: 20.91 kB / 0.5403 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.3547, allocations: 0.5014 MB / 0.5408 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.3568, allocations: 1.509 MB / 0.5422 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.3574, allocations: 318.8 kB / 0.5425 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.3578, allocations: 152 kB / 0.5427 GB, free: 4.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.3579, allocations: 13.89 kB / 0.5427 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3579, allocations: 44.48 kB / 0.5427 GB, free: 4.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/0.3579, allocations: 4 kB / 0.5427 GB, free: 4.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001339/0.3593, allocations: 0.5118 MB / 0.5432 GB, free: 4.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.3594, allocations: 108.4 kB / 0.5433 GB, free: 4.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/0.3601, allocations: 0.5678 MB / 0.5439 GB, free: 3.828 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.3602, allocations: 37.64 kB / 0.5439 GB, free: 3.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.3604, allocations: 228.4 kB / 0.5442 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.3605, allocations: 83.33 kB / 0.5442 GB, free: 3.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.3606, allocations: 81.64 kB / 0.5443 GB, free: 3.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.3608, allocations: 362.8 kB / 0.5447 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.3612, allocations: 151.8 kB / 0.5448 GB, free: 2.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.3617, allocations: 253.4 kB / 0.545 GB, free: 2.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.3625, allocations: 433.5 kB / 0.5455 GB, free: 2.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3626, allocations: 4 kB / 0.5455 GB, free: 2.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001007/0.3636, allocations: 484.7 kB / 0.5459 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3636, allocations: 11.94 kB / 0.5459 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.753e-05/0.3637, allocations: 43.98 kB / 0.546 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3637, allocations: 8 kB / 0.546 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.3639, allocations: 36.25 kB / 0.546 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.364, allocations: 8 kB / 0.546 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.3643, allocations: 63.59 kB / 0.5461 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.3643, allocations: 20 kB / 0.5461 GB, free: 1.445 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002576/0.3646, allocations: 221.5 kB / 0.5463 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3647, allocations: 51.61 kB / 0.5464 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009663/0.3657, allocations: 472.8 kB / 0.5468 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3657, allocations: 11.98 kB / 0.5468 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3657, allocations: 4 kB / 0.5468 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3657, allocations: 3.938 kB / 0.5468 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006329/0.3664, allocations: 405.3 kB / 0.5472 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.627e-05/0.3664, allocations: 39.98 kB / 0.5473 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.3666, allocations: 23.97 kB / 0.5473 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3666, allocations: 0 / 0.5473 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3666, allocations: 15.98 kB / 0.5473 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3666, allocations: 4 kB / 0.5473 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3667, allocations: 7.938 kB / 0.5473 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.3676, allocations: 0.6219 MB / 0.5479 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.3678, allocations: 128.8 kB / 0.548 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.3678, allocations: 7.984 kB / 0.548 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.3681, allocations: 15.98 kB / 0.5481 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.3682, allocations: 31.91 kB / 0.5481 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.3682, allocations: 12 kB / 0.5481 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000463/0.3687, allocations: 414.8 kB / 0.5485 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3687, allocations: 0 / 0.5485 GB, free: 14.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.3694, allocations: 179.5 kB / 0.5487 GB, free: 14.71 MB / 414.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001604/0.371, allocations: 1.315 MB / 0.55 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.3721, allocations: 0.6686 MB / 0.5506 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3721, allocations: 3.938 kB / 0.5506 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005753/0.3727, allocations: 488.2 kB / 0.5511 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.3734, allocations: 96.39 kB / 0.5512 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007522/0.3809, allocations: 5.397 MB / 0.5564 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.3815, allocations: 0.8818 MB / 0.5573 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.3817, allocations: 79.34 kB / 0.5574 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.3819, allocations: 135.4 kB / 0.5575 GB, free: 5.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3819, allocations: 0 / 0.5575 GB, free: 5.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03867/0.4206, allocations: 14.24 MB / 0.5714 GB, free: 7.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.129, allocations: 15.77 kB / 0.5714 GB, free: 7.242 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1)