Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009343/0.0009343, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 176 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3167/0.3167, allocations: 43.55 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005313, allocations: 19.97 kB / 384 MB, free: 8.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 58.85 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002177/0.1135, allocations: 1.904 MB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.116, allocations: 1.899 MB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1161, allocations: 0 / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.1163, allocations: 59.59 kB / 446.8 MB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1165, allocations: 91.42 kB / 446.8 MB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.1172, allocations: 354.8 kB / 447.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.1178, allocations: 0.5599 MB / 447.8 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1179, allocations: 72.97 kB / 447.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.118, allocations: 167.2 kB / 448 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1183, allocations: 211 kB / 448.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.1183, allocations: 8 kB / 448.2 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/0.1192, allocations: 0.6356 MB / 448.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1193, allocations: 95.53 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.1194, allocations: 97.39 kB / 449 MB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005308/0.1199, allocations: 0.5532 MB / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.12, allocations: 0 / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.12, allocations: 0 / 449.6 MB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.12, allocations: 0 / 449.6 MB, free: 6.449 MB / 382.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.001071/0.1211, allocations: 0.7681 MB / 450.3 MB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1211, allocations: 12.02 kB / 450.4 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1212, allocations: 102.5 kB / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.1213, allocations: 59.23 kB / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1216, allocations: 314.2 kB / 450.8 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1217, allocations: 41.31 kB / 450.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.1217, allocations: 51.94 kB / 450.9 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1228, allocations: 0.7736 MB / 451.7 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1228, allocations: 0 / 451.7 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1229, allocations: 28 kB / 451.7 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.1229, allocations: 33.25 kB / 451.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.1238, allocations: 0.571 MB / 452.3 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.126, allocations: 1.669 MB / 454 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.1266, allocations: 315.6 kB / 454.3 MB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.127, allocations: 158.5 kB / 454.4 MB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.127, allocations: 11.98 kB / 454.5 MB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.1271, allocations: 46.44 kB / 454.5 MB, free: 1.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.1271, allocations: 0 / 454.5 MB, free: 1.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001758/0.1289, allocations: 0.5399 MB / 455 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.129, allocations: 106.9 kB / 455.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2493/0.3783, allocations: 0.6236 MB / 455.8 MB, free: 46.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.3784, allocations: 30.36 kB / 455.8 MB, free: 46.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.3787, allocations: 290.9 kB / 456.1 MB, free: 46.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.3788, allocations: 69.59 kB / 456.2 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3788, allocations: 9.906 kB / 456.2 MB, free: 46.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.379, allocations: 364.2 kB / 456.5 MB, free: 45.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.3794, allocations: 203 kB / 456.7 MB, free: 45.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.3799, allocations: 472.7 kB / 457.2 MB, free: 45.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.3803, allocations: 284.2 kB / 457.5 MB, free: 45.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3803, allocations: 2.812 kB / 457.5 MB, free: 45.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001165/0.3815, allocations: 0.7119 MB / 458.2 MB, free: 45.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3815, allocations: 8.906 kB / 458.2 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-05/0.3816, allocations: 55.81 kB / 458.2 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.3816, allocations: 14.53 kB / 458.2 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3819, allocations: 79.75 kB / 458.3 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.3819, allocations: 19.53 kB / 458.3 MB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.3823, allocations: 102.9 kB / 458.4 MB, free: 45.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.3824, allocations: 38.8 kB / 458.5 MB, free: 45.33 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.3827, allocations: 252.5 kB / 458.7 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3828, allocations: 49.2 kB / 458.8 MB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008361/0.3836, allocations: 489.3 kB / 459.3 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3836, allocations: 9.406 kB / 459.3 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3836, allocations: 0.6875 kB / 459.3 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3837, allocations: 4.5 kB / 459.3 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.3842, allocations: 413.3 kB / 459.7 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/0.3843, allocations: 44.27 kB / 459.7 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3844, allocations: 32.88 kB / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3844, allocations: 0 / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.3845, allocations: 12.75 kB / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3845, allocations: 6.297 kB / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3845, allocations: 2.625 kB / 459.8 MB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.3852, allocations: 0.6429 MB / 460.4 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.3853, allocations: 131.6 kB / 460.5 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.3854, allocations: 3.562 kB / 460.5 MB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.3856, allocations: 30.91 kB / 460.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.3857, allocations: 24.98 kB / 460.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.3858, allocations: 11.56 kB / 460.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003971/0.3862, allocations: 445.6 kB / 461 MB, free: 44.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 0 / 461 MB, free: 44.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007152/0.3869, allocations: 184.9 kB / 461.2 MB, free: 44.36 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.3881, allocations: 1.302 MB / 462.5 MB, free: 43.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.389, allocations: 0.7778 MB / 463.3 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.389, allocations: 0 / 463.3 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.3894, allocations: 0.4901 MB / 463.8 MB, free: 42.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.3901, allocations: 115.8 kB / 463.9 MB, free: 42.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.3951, allocations: 3.611 MB / 467.5 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.3954, allocations: 0.8946 MB / 468.4 MB, free: 40.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003387/0.3958, allocations: 134.9 kB / 468.5 MB, free: 40.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.3959, allocations: 144.8 kB / 468.7 MB, free: 40.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3959, allocations: 0 / 468.7 MB, free: 40.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.4374, allocations: 14.64 MB / 483.3 MB, free: 39.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.4376, allocations: 226.1 kB / 483.6 MB, free: 39.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.513, allocations: 0 / 483.6 MB, free: 39.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat