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.001198/0.001198, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009197/0.0009194, allocations: 100.7 kB / 292.1 MB, free: 10.92 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.3755/0.3755, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 16 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3392, allocations: 61.9 MB / 0.5097 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.4635, allocations: 94.86 MB / 0.6023 GB, free: 228 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.4639, allocations: 95.91 kB / 0.6024 GB, free: 136 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02992/0.4938, allocations: 11.11 MB / 0.6132 GB, free: 4.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4938, allocations: 0 / 0.6132 GB, free: 4.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.4939, allocations: 4 kB / 0.6132 GB, free: 4.855 MB / 426.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.001101/0.495, allocations: 0.6549 MB / 0.6139 GB, free: 4.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.495, allocations: 8.562 kB / 0.6139 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.4951, allocations: 78.53 kB / 0.614 GB, free: 4.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.4952, allocations: 39.53 kB / 0.614 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.4957, allocations: 294.2 kB / 0.6143 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4957, allocations: 36.94 kB / 0.6143 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.4958, allocations: 36 kB / 0.6143 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.4967, allocations: 0.5855 MB / 0.6149 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4967, allocations: 0 / 0.6149 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.4968, allocations: 16 kB / 0.6149 GB, free: 3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.4968, allocations: 20.98 kB / 0.615 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.4977, allocations: 451.6 kB / 0.6154 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.4996, allocations: 1.398 MB / 0.6168 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.5002, allocations: 291.5 kB / 0.617 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.5002, allocations: 8 kB / 0.617 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5003, allocations: 42.48 kB / 0.6171 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.783e-06/0.5003, allocations: 0 / 0.6171 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001266/0.5015, allocations: 0.7137 MB / 0.6178 GB, free: 15.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.5016, allocations: 102.8 kB / 0.6179 GB, free: 15.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.5021, allocations: 457 kB / 0.6183 GB, free: 15.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.5022, allocations: 29.7 kB / 0.6183 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.5023, allocations: 200.2 kB / 0.6185 GB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.5024, allocations: 63.09 kB / 0.6186 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.5024, allocations: 8.031 kB / 0.6186 GB, free: 15.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5025, allocations: 354.8 kB / 0.6189 GB, free: 14.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.5029, allocations: 136 kB / 0.6191 GB, free: 14.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.5032, allocations: 186.8 kB / 0.6192 GB, free: 14.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.5036, allocations: 155.9 kB / 0.6194 GB, free: 14.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5036, allocations: 0 / 0.6194 GB, free: 14.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000821/0.5044, allocations: 400.8 kB / 0.6198 GB, free: 13.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5045, allocations: 4 kB / 0.6198 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-05/0.5045, allocations: 31.97 kB / 0.6198 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5046, allocations: 0 / 0.6198 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.5048, allocations: 48.03 kB / 0.6199 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.5048, allocations: 4 kB / 0.6199 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.5052, allocations: 63.34 kB / 0.6199 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.5052, allocations: 16 kB / 0.6199 GB, free: 13.64 MB / 442.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 () * Number of clocked 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 0.0002238/0.5054, allocations: 185.7 kB / 0.6201 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.5056, allocations: 39.53 kB / 0.6201 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.5064, allocations: 398.8 kB / 0.6205 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.5064, allocations: 4 kB / 0.6205 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5064, allocations: 0 / 0.6205 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.5064, allocations: 4 kB / 0.6205 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.507, allocations: 369.2 kB / 0.6209 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.507, allocations: 27.97 kB / 0.6209 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.5072, allocations: 31.97 kB / 0.6209 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5072, allocations: 0 / 0.6209 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.5073, allocations: 19.98 kB / 0.621 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5073, allocations: 0 / 0.621 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5073, allocations: 0 / 0.621 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.5082, allocations: 0.6224 MB / 0.6216 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.5083, allocations: 120.6 kB / 0.6217 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.836e-05/0.5084, allocations: 8 kB / 0.6217 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.5087, allocations: 31.84 kB / 0.6217 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.5088, allocations: 19.98 kB / 0.6217 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.5088, allocations: 15.94 kB / 0.6218 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004307/0.5093, allocations: 371 kB / 0.6221 GB, free: 11.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5093, allocations: 0 / 0.6221 GB, free: 11.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006394/0.5099, allocations: 127.8 kB / 0.6222 GB, free: 11.17 MB / 442.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 () * Number of clocked 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.001959/0.5119, allocations: 1.391 MB / 0.6236 GB, free: 9.746 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009549/0.5129, allocations: 0.538 MB / 0.6241 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5129, allocations: 0 / 0.6241 GB, free: 9.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.5134, allocations: 399.4 kB / 0.6245 GB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.514, allocations: 93.55 kB / 0.6246 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.5185, allocations: 3.558 MB / 0.6281 GB, free: 4.973 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.5189, allocations: 0.8499 MB / 0.6289 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.5191, allocations: 63.25 kB / 0.629 GB, free: 4.031 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5193, allocations: 107.4 kB / 0.6291 GB, free: 3.926 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5193, allocations: 0 / 0.6291 GB, free: 3.926 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.5444, allocations: 10.99 MB / 0.6398 GB, free: 9.219 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.5446, allocations: 221.8 kB / 0.64 GB, free: 8.977 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.866, allocations: 0 / 0.64 GB, free: 8.977 MB / 458.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