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_laminar.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_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.0007788/0.0007788, 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.001134/0.001134, allocations: 174.9 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.484/1.484, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.313/0.313, allocations: 43.55 MB / 314.6 MB, free: 8.777 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.0004732/0.0004733, allocations: 16 kB / 384 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002038/0.1088, allocations: 1.845 MB / 444.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1103, allocations: 1.069 MB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1104, allocations: 0 / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1106, allocations: 55.66 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1108, allocations: 91.44 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1112, allocations: 147.6 kB / 446.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.1117, allocations: 0.5212 MB / 446.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.1118, allocations: 60.98 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1121, allocations: 163.2 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.1123, allocations: 207.1 kB / 447 MB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.1124, allocations: 12 kB / 447.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.1128, allocations: 303.5 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.1129, allocations: 91.53 kB / 447.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.113, allocations: 89.45 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.1134, allocations: 406.9 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1134, allocations: 0 / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1134, allocations: 0 / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1134, allocations: 0 / 447.9 MB, free: 7.863 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.000956/0.1144, allocations: 0.6939 MB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1144, allocations: 12.02 kB / 448.6 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.424e-05/0.1145, allocations: 98.45 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.597e-05/0.1146, allocations: 47.39 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1149, allocations: 286.4 kB / 449.1 MB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.1149, allocations: 37 kB / 449.1 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.115, allocations: 43.98 kB / 449.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.1159, allocations: 0.6675 MB / 449.8 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1159, allocations: 4 kB / 449.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.116, allocations: 19.94 kB / 449.8 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.116, allocations: 24.98 kB / 449.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008702/0.1169, allocations: 0.4995 MB / 450.3 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1191, allocations: 1.503 MB / 451.8 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.1196, allocations: 311.6 kB / 452.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.1199, allocations: 158.5 kB / 452.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.12, allocations: 15.97 kB / 452.3 MB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.12, allocations: 38.5 kB / 452.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.12, allocations: 4 kB / 452.4 MB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001111/0.1212, allocations: 0.5241 MB / 452.9 MB, free: 2.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1212, allocations: 111 kB / 453 MB, free: 2.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.1218, allocations: 0.5406 MB / 453.5 MB, free: 1.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1218, allocations: 29.7 kB / 453.6 MB, free: 1.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.122, allocations: 228 kB / 453.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.122, allocations: 70.98 kB / 453.9 MB, free: 1.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.1221, allocations: 4 kB / 453.9 MB, free: 1.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1222, allocations: 350.8 kB / 454.2 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.1225, allocations: 179.9 kB / 454.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.123, allocations: 291.6 kB / 454.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.1233, allocations: 203.8 kB / 454.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1233, allocations: 0 / 454.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009142/0.1243, allocations: 0.52 MB / 455.4 MB, free: 52 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1243, allocations: 4.5 kB / 455.4 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.172/0.2963, allocations: 50.44 kB / 455.4 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2963, allocations: 7.688 kB / 455.4 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.2966, allocations: 45.31 kB / 455.5 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2966, allocations: 11.42 kB / 455.5 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.297, allocations: 74.92 kB / 455.6 MB, free: 46.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.297, allocations: 24.66 kB / 455.6 MB, free: 46.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.000214/0.2972, allocations: 215 kB / 455.8 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.2973, allocations: 46.23 kB / 455.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007286/0.298, allocations: 453.9 kB / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2981, allocations: 5.375 kB / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2981, allocations: 0 / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2981, allocations: 2.719 kB / 456.3 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.2985, allocations: 389 kB / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.213e-05/0.2986, allocations: 37.95 kB / 456.7 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.2987, allocations: 35.94 kB / 456.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2987, allocations: 2.906 kB / 456.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2988, allocations: 17.19 kB / 456.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2988, allocations: 0.8594 kB / 456.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2988, allocations: 5 kB / 456.8 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.2994, allocations: 0.6353 MB / 457.4 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.2995, allocations: 130.6 kB / 457.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.2996, allocations: 2.438 kB / 457.5 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.2998, allocations: 28.89 kB / 457.6 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.2999, allocations: 24.98 kB / 457.6 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2999, allocations: 14.95 kB / 457.6 MB, free: 45.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.3002, allocations: 391.2 kB / 458 MB, free: 45.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3003, allocations: 0 / 458 MB, free: 45.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.3008, allocations: 125.9 kB / 458.1 MB, free: 45.18 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.0009857/0.3017, allocations: 1.231 MB / 459.4 MB, free: 44.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.3025, allocations: 0.6852 MB / 460 MB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3025, allocations: 2.375 kB / 460 MB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.3029, allocations: 0.4921 MB / 460.5 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.3035, allocations: 109.1 kB / 460.6 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.3071, allocations: 3.139 MB / 463.8 MB, free: 42.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3074, allocations: 0.8678 MB / 464.6 MB, free: 41.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3076, allocations: 82.98 kB / 464.7 MB, free: 41.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3077, allocations: 116 kB / 464.8 MB, free: 41.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3077, allocations: 4 kB / 464.8 MB, free: 41.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.3272, allocations: 12.02 MB / 476.9 MB, free: 40.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001224/0.3273, allocations: 227.9 kB / 477.1 MB, free: 40.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.211, allocations: 0 / 477.1 MB, free: 40.71 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar_res.mat does not exist to compare? outputFormat=mat