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_KC.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_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.001598/0.001598, allocations: 173.7 kB / 8.74 MB, free: 348 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.493/1.493, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0009202/0.0009202, allocations: 103.6 kB / 281.6 MB, free: 5.316 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.1853/0.1853, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.285e-05, allocations: 8.156 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5819, allocations: 92.25 MB / 0.5849 GB, free: 4.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003424/0.5823, allocations: 95.94 kB / 0.585 GB, free: 4.012 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0267/0.6091, allocations: 9.57 MB / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6091, allocations: 0 / 0.5943 GB, free: 10.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.6091, allocations: 8 kB / 0.5943 GB, free: 10.29 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007657/0.6099, allocations: 0.5698 MB / 0.5949 GB, free: 9.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.61, allocations: 11.98 kB / 0.5949 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.6101, allocations: 39.53 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.6104, allocations: 274.4 kB / 0.5952 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.6104, allocations: 15.98 kB / 0.5952 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.6105, allocations: 24 kB / 0.5952 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006235/0.6111, allocations: 493.7 kB / 0.5957 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006159/0.6117, allocations: 469 kB / 0.5961 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6118, allocations: 4 kB / 0.5961 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.6118, allocations: 0 / 0.5961 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.6119, allocations: 37.28 kB / 0.5962 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.6135, allocations: 1.05 MB / 0.5972 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.614, allocations: 415.8 kB / 0.5976 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6142, allocations: 133.2 kB / 0.5977 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.6143, allocations: 8.219 kB / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.6143, allocations: 38.73 kB / 0.5978 GB, free: 6.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.6143, allocations: 0 / 0.5978 GB, free: 6.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005703/0.6149, allocations: 328.4 kB / 0.5981 GB, free: 6.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.6149, allocations: 59.41 kB / 0.5981 GB, free: 6.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6151, allocations: 132.9 kB / 0.5983 GB, free: 6.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.6151, allocations: 25.7 kB / 0.5983 GB, free: 6.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6152, allocations: 204.1 kB / 0.5985 GB, free: 5.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.6153, allocations: 94.59 kB / 0.5986 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.6153, allocations: 0 / 0.5986 GB, free: 5.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6155, allocations: 326.8 kB / 0.5989 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.6157, allocations: 115.9 kB / 0.599 GB, free: 5.285 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.6158, allocations: 124.1 kB / 0.5991 GB, free: 5.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.6161, allocations: 135.8 kB / 0.5992 GB, free: 5.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6161, allocations: 0 / 0.5992 GB, free: 5.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005109/0.6166, allocations: 325.2 kB / 0.5996 GB, free: 4.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6166, allocations: 5.25 kB / 0.5996 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6166, allocations: 0 / 0.5996 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6166, allocations: 4 kB / 0.5996 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.6175, allocations: 155.9 kB / 0.5997 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.6203, allocations: 5.543 MB / 0.6051 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6206, allocations: 19.86 kB / 0.6051 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.6206, allocations: 11.98 kB / 0.6052 GB, free: 14.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.6207, allocations: 125 kB / 0.6053 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005007/0.6212, allocations: 325.9 kB / 0.6056 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.6213, allocations: 19.8 kB / 0.6056 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.622, allocations: 431 kB / 0.606 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.622, allocations: 4 kB / 0.606 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.622, allocations: 0 / 0.606 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.6221, allocations: 3.984 kB / 0.606 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.6225, allocations: 349.7 kB / 0.6064 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6226, allocations: 4 kB / 0.6064 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.6233, allocations: 155.8 kB / 0.6065 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6233, allocations: 0 / 0.6065 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.6233, allocations: 7.984 kB / 0.6065 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.6269, allocations: 5.544 MB / 0.6119 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.627, allocations: 3.938 kB / 0.6119 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.6275, allocations: 427.1 kB / 0.6123 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.6276, allocations: 92.86 kB / 0.6124 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.6277, allocations: 3.984 kB / 0.6124 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.6279, allocations: 12.16 kB / 0.6124 GB, free: 6.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.6279, allocations: 27.95 kB / 0.6125 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.628, allocations: 8 kB / 0.6125 GB, free: 6.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.36e-05/0.628, allocations: 111.2 kB / 0.6126 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6281, allocations: 0 / 0.6126 GB, free: 6.848 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000505/0.6286, allocations: 123.5 kB / 0.6127 GB, free: 6.727 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.6296, allocations: 1.044 MB / 0.6137 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.6306, allocations: 363.6 kB / 0.6141 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6306, allocations: 0 / 0.6141 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006801/0.6313, allocations: 247.7 kB / 0.6143 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.6316, allocations: 24.56 kB / 0.6143 GB, free: 5.035 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.6331, allocations: 0.647 MB / 0.615 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.6336, allocations: 0.8689 MB / 0.6158 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.6338, allocations: 65.78 kB / 0.6159 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.634, allocations: 103.4 kB / 0.616 GB, free: 3.285 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.634, allocations: 0 / 0.616 GB, free: 3.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.6598, allocations: 6.352 MB / 0.6222 GB, free: 12.96 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.66, allocations: 191.6 kB / 0.6224 GB, free: 12.76 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.576, allocations: 1.25 kB / 0.6224 GB, free: 12.76 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_KC_res.mat does not exist to compare? outputFormat=mat