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.StraightPipe.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.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001313/0.001313, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, 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.2268/0.2268, 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.002304/0.002305, allocations: 75.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3411, allocations: 62.43 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003687/0.3448, allocations: 2.271 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3481, allocations: 2.158 MB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.3483, allocations: 2.75 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3487, allocations: 73.39 kB / 0.535 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.349, allocations: 114.5 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3502, allocations: 440.1 kB / 0.5356 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.3508, allocations: 0.5186 MB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.351, allocations: 67.53 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.3513, allocations: 181.6 kB / 0.5363 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.3516, allocations: 215.6 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.3516, allocations: 12.75 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3528, allocations: 0.6947 MB / 0.5372 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3529, allocations: 105.7 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.3532, allocations: 204.2 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.3545, allocations: 0.86 MB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3545, allocations: 1.25 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3545, allocations: 0 / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.3545, allocations: 0 / 0.5383 GB, free: 7.684 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001546/0.356, allocations: 0.86 MB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3561, allocations: 9.719 kB / 0.5392 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.3562, allocations: 106 kB / 0.5393 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004076/0.3566, allocations: 90.86 kB / 0.5394 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.3571, allocations: 316.6 kB / 0.5397 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.3572, allocations: 44.47 kB / 0.5397 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.3573, allocations: 59.75 kB / 0.5398 GB, free: 6.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.3585, allocations: 0.7662 MB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3585, allocations: 1.062 kB / 0.5405 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.824e-05/0.3586, allocations: 24.42 kB / 0.5405 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.3586, allocations: 24.84 kB / 0.5406 GB, free: 6.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.3597, allocations: 0.5582 MB / 0.5411 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.3623, allocations: 1.683 MB / 0.5428 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.363, allocations: 307.1 kB / 0.543 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.3634, allocations: 151.9 kB / 0.5432 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.3635, allocations: 17.83 kB / 0.5432 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.3635, allocations: 36.62 kB / 0.5432 GB, free: 4.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.3635, allocations: 3.938 kB / 0.5432 GB, free: 4.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001473/0.365, allocations: 0.506 MB / 0.5437 GB, free: 4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.3651, allocations: 110.8 kB / 0.5438 GB, free: 3.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.3659, allocations: 0.6354 MB / 0.5445 GB, free: 3.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.366, allocations: 33.8 kB / 0.5445 GB, free: 3.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.3663, allocations: 300 kB / 0.5448 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.3664, allocations: 83.31 kB / 0.5449 GB, free: 2.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3666, allocations: 122.2 kB / 0.545 GB, free: 2.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3668, allocations: 358.8 kB / 0.5453 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.3672, allocations: 192.9 kB / 0.5455 GB, free: 2.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.3678, allocations: 469.2 kB / 0.546 GB, free: 1.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.369, allocations: 0.6656 MB / 0.5466 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.369, allocations: 4 kB / 0.5466 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001373/0.3704, allocations: 0.6964 MB / 0.5473 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3704, allocations: 15.94 kB / 0.5473 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/0.3705, allocations: 52.11 kB / 0.5474 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.3706, allocations: 12 kB / 0.5474 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.3709, allocations: 71.83 kB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.3709, allocations: 19.92 kB / 0.5475 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.3714, allocations: 99.28 kB / 0.5475 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.3714, allocations: 35.98 kB / 0.5476 GB, free: 15.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0003067/0.3718, allocations: 261.5 kB / 0.5478 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3719, allocations: 55.61 kB / 0.5479 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.3729, allocations: 465.7 kB / 0.5483 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3729, allocations: 4 kB / 0.5483 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3729, allocations: 8 kB / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3729, allocations: 0 / 0.5483 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.3736, allocations: 417.2 kB / 0.5487 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-05/0.3737, allocations: 39.98 kB / 0.5488 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3739, allocations: 23.97 kB / 0.5488 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3739, allocations: 7.875 kB / 0.5488 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.3739, allocations: 19.94 kB / 0.5488 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3739, allocations: 3.984 kB / 0.5488 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3739, allocations: 3.938 kB / 0.5488 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.3749, allocations: 0.6216 MB / 0.5494 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3751, allocations: 132.6 kB / 0.5496 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.3752, allocations: 11.98 kB / 0.5496 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.3755, allocations: 19.98 kB / 0.5496 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.3756, allocations: 23.97 kB / 0.5496 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3756, allocations: 12 kB / 0.5496 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005831/0.3762, allocations: 450.7 kB / 0.5501 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3762, allocations: 0 / 0.5501 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.377, allocations: 187.6 kB / 0.5502 GB, free: 12.91 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.001661/0.3787, allocations: 1.302 MB / 0.5515 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.3799, allocations: 0.7478 MB / 0.5522 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3799, allocations: 4 kB / 0.5522 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.3805, allocations: 487.5 kB / 0.5527 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.3812, allocations: 125.7 kB / 0.5528 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.39, allocations: 5.963 MB / 0.5587 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.3906, allocations: 0.8894 MB / 0.5595 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.3909, allocations: 132.5 kB / 0.5596 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.3911, allocations: 147.3 kB / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3911, allocations: 0 / 0.5598 GB, free: 2.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.4326, allocations: 15.95 MB / 0.5754 GB, free: 2.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.189, allocations: 8.125 kB / 0.5754 GB, free: 2.859 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)