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_twoPhaseOverall_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.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_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.001478/0.001478, allocations: 104.1 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.001699/0.001699, 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.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2296/0.2296, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002359/0.002359, allocations: 81.36 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1215, allocations: 62.45 MB / 480.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC): time 0.005575/0.1272, allocations: 2.897 MB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005023/0.1322, allocations: 2.578 MB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.1327, allocations: 7.938 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.1332, allocations: 127.4 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.1338, allocations: 218.6 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1354, allocations: 0.5448 MB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1366, allocations: 0.9441 MB / 487.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.1368, allocations: 110.2 kB / 487.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.1374, allocations: 342 kB / 488 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.1379, allocations: 405.7 kB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.492e-05/0.138, allocations: 28 kB / 488.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001584/0.1396, allocations: 0.9554 MB / 489.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.1398, allocations: 274.6 kB / 489.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.1403, allocations: 456.6 kB / 490.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1419, allocations: 1.366 MB / 491.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1419, allocations: 0 / 491.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1419, allocations: 0 / 491.4 MB, free: 9.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.1419, allocations: 4 kB / 491.4 MB, free: 9.805 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002173/0.1441, allocations: 1.455 MB / 492.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1441, allocations: 12.03 kB / 492.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.1443, allocations: 165.1 kB / 493.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000727/0.1451, allocations: 195.2 kB / 493.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006724/0.1457, allocations: 0.5183 MB / 493.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.107e-05/0.1458, allocations: 69.94 kB / 493.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1459, allocations: 91.98 kB / 493.9 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.1481, allocations: 1.423 MB / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1481, allocations: 0 / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-05/0.1482, allocations: 43.98 kB / 495.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.1483, allocations: 70.08 kB / 495.5 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.1506, allocations: 1.37 MB / 496.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004176/0.1548, allocations: 3.074 MB / 499.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1562, allocations: 0.7211 MB / 0.4889 GB, free: 324 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/0.1568, allocations: 285.4 kB / 0.4892 GB, free: 20 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.267e-05/0.1569, allocations: 20.16 kB / 0.4892 GB, free: 0 / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.157, allocations: 46.83 kB / 0.4892 GB, free: 15.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.157, allocations: 0 / 0.4892 GB, free: 15.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002331/0.1593, allocations: 0.9389 MB / 0.4902 GB, free: 15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.1594, allocations: 191.9 kB / 0.4903 GB, free: 14.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.1611, allocations: 1.35 MB / 0.4917 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.1611, allocations: 33.7 kB / 0.4917 GB, free: 13.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.1616, allocations: 0.5355 MB / 0.4922 GB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1617, allocations: 122.4 kB / 0.4923 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.162, allocations: 162.2 kB / 0.4925 GB, free: 12.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1621, allocations: 330 kB / 0.4928 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.1629, allocations: 297 kB / 0.4931 GB, free: 11.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.1639, allocations: 0.6208 MB / 0.4937 GB, free: 11.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.1656, allocations: 0.9712 MB / 0.4946 GB, free: 10.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1656, allocations: 0 / 0.4946 GB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002154/0.1678, allocations: 1.047 MB / 0.4957 GB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1678, allocations: 8 kB / 0.4957 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.1679, allocations: 15.98 kB / 0.4957 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.1679, allocations: 16 kB / 0.4957 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.1685, allocations: 164.3 kB / 0.4959 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.1685, allocations: 19.94 kB / 0.4959 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.1693, allocations: 162.2 kB / 0.496 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.1693, allocations: 47.98 kB / 0.4961 GB, free: 8.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,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 (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005265/0.1699, allocations: 371.5 kB / 0.4964 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.1701, allocations: 122.3 kB / 0.4965 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.1716, allocations: 0.7626 MB / 0.4973 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.1716, allocations: 4 kB / 0.4973 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1716, allocations: 0 / 0.4973 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1717, allocations: 7.984 kB / 0.4973 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1729, allocations: 0.7063 MB / 0.498 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.1729, allocations: 11.92 kB / 0.498 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.1734, allocations: 99.88 kB / 0.4981 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1734, allocations: 8 kB / 0.4981 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.1734, allocations: 15.98 kB / 0.4981 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1734, allocations: 4 kB / 0.4981 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1734, allocations: 0 / 0.4981 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.1752, allocations: 1.168 MB / 0.4993 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002564/0.1755, allocations: 199.5 kB / 0.4995 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.1756, allocations: 11.94 kB / 0.4995 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.1763, allocations: 39.95 kB / 0.4995 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.1764, allocations: 39.95 kB / 0.4995 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.1765, allocations: 20 kB / 0.4996 GB, free: 4.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.1777, allocations: 0.9313 MB / 0.5005 GB, free: 3.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1777, allocations: 4 kB / 0.5005 GB, free: 3.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001079/0.1788, allocations: 307.9 kB / 0.5008 GB, free: 3.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002615/0.1814, allocations: 1.847 MB / 0.5026 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.1831, allocations: 0.7509 MB / 0.5033 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1831, allocations: 1.5 kB / 0.5033 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.1839, allocations: 312.5 kB / 0.5036 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.1854, allocations: 256.9 kB / 0.5039 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1918/0.3772, allocations: 12.22 MB / 0.5158 GB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.3779, allocations: 1.16 MB / 0.5169 GB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009146/0.3789, allocations: 393.9 kB / 0.5173 GB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.3793, allocations: 394.6 kB / 0.5177 GB, free: 35.01 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3793, allocations: 1.281 kB / 0.5177 GB, free: 35.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05476/0.4341, allocations: 27.54 MB / 0.5446 GB, free: 14.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.613/9.047, allocations: 13.22 kB / 0.5446 GB, free: 14.6 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_twoPhaseOverall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC.pipe 2>&1)