Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 176.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009418, allocations: 96.61 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1893/0.1893, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.966e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1332, allocations: 61.9 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.5733, allocations: 94.12 MB / 0.5867 GB, free: 2.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5736, allocations: 95.92 kB / 0.5868 GB, free: 2.195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0297/0.6034, allocations: 10.97 MB / 0.5975 GB, free: 7.074 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6034, allocations: 0 / 0.5975 GB, free: 7.074 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.6034, allocations: 4 kB / 0.5975 GB, free: 7.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009463/0.6044, allocations: 0.6268 MB / 0.5981 GB, free: 6.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.6045, allocations: 15.98 kB / 0.5981 GB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.6046, allocations: 43.44 kB / 0.5982 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.6049, allocations: 274.4 kB / 0.5984 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.605, allocations: 19.95 kB / 0.5985 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.605, allocations: 20 kB / 0.5985 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005172/0.6055, allocations: 333.8 kB / 0.5988 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.6062, allocations: 498.6 kB / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.6063, allocations: 0 / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.6063, allocations: 0 / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.6063, allocations: 24.77 kB / 0.5993 GB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.608, allocations: 1.237 MB / 0.6005 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.6084, allocations: 239.6 kB / 0.6007 GB, free: 3.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6086, allocations: 102.5 kB / 0.6008 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.6086, allocations: 11.94 kB / 0.6008 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.6087, allocations: 38.56 kB / 0.6009 GB, free: 3.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.6087, allocations: 4 kB / 0.6009 GB, free: 3.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005367/0.6092, allocations: 253.2 kB / 0.6011 GB, free: 3.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6093, allocations: 106.8 kB / 0.6012 GB, free: 3.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.6095, allocations: 183 kB / 0.6014 GB, free: 2.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.6095, allocations: 25.7 kB / 0.6014 GB, free: 2.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.6096, allocations: 228 kB / 0.6016 GB, free: 2.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.6097, allocations: 59.14 kB / 0.6017 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.6097, allocations: 0 / 0.6017 GB, free: 2.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.6098, allocations: 334.8 kB / 0.602 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.61, allocations: 100.1 kB / 0.6021 GB, free: 2.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.6102, allocations: 134.5 kB / 0.6022 GB, free: 1.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.6103, allocations: 113.7 kB / 0.6023 GB, free: 1.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6104, allocations: 0 / 0.6023 GB, free: 1.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004587/0.6108, allocations: 293.1 kB / 0.6026 GB, free: 1.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6108, allocations: 4 kB / 0.6026 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.614e-05/0.6109, allocations: 27.97 kB / 0.6027 GB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6109, allocations: 4 kB / 0.6027 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.6112, allocations: 40.12 kB / 0.6027 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6112, allocations: 4 kB / 0.6027 GB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.6114, allocations: 35.81 kB / 0.6027 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.6114, allocations: 15.98 kB / 0.6028 GB, free: 1.402 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 9.304e-05/0.6115, allocations: 112.9 kB / 0.6029 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004349/0.612, allocations: 257.2 kB / 0.6031 GB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.6121, allocations: 19.8 kB / 0.6031 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.6126, allocations: 332.9 kB / 0.6034 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6127, allocations: 7.938 kB / 0.6034 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6127, allocations: 0 / 0.6034 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6127, allocations: 0 / 0.6034 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.6131, allocations: 325.9 kB / 0.6038 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.866e-05/0.6132, allocations: 32.03 kB / 0.6038 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.6134, allocations: 39.91 kB / 0.6038 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6134, allocations: 0 / 0.6038 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6134, allocations: 8 kB / 0.6038 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6134, allocations: 3.984 kB / 0.6038 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6134, allocations: 0 / 0.6038 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.6139, allocations: 0.5107 MB / 0.6043 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.614, allocations: 96.92 kB / 0.6044 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.6141, allocations: 3.984 kB / 0.6044 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.6143, allocations: 23.98 kB / 0.6045 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.6144, allocations: 23.91 kB / 0.6045 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.6144, allocations: 11.95 kB / 0.6045 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.6145, allocations: 153.5 kB / 0.6046 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6146, allocations: 0 / 0.6046 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005994/0.6152, allocations: 139.4 kB / 0.6048 GB, free: 15.23 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001063/0.6162, allocations: 1.297 MB / 0.606 GB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.6167, allocations: 459.2 kB / 0.6065 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6168, allocations: 0 / 0.6065 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.617, allocations: 355.2 kB / 0.6068 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.6174, allocations: 23.77 kB / 0.6068 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.6189, allocations: 0.6675 MB / 0.6075 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.6192, allocations: 0.8527 MB / 0.6083 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.6194, allocations: 33.17 kB / 0.6084 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6195, allocations: 99.41 kB / 0.6084 GB, free: 11.25 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6195, allocations: 0 / 0.6084 GB, free: 11.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.6472, allocations: 6.302 MB / 0.6146 GB, free: 4.98 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6475, allocations: 190.8 kB / 0.6148 GB, free: 4.777 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.431, allocations: 1.688 kB / 0.6148 GB, free: 4.777 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat