Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008951/0.0008951, allocations: 89.25 kB / 292.1 MB, free: 6.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1798/0.1798, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 6.656 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.08917, allocations: 63.24 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4637, allocations: 100.5 MB / 0.6096 GB, free: 9.434 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4641, allocations: 91.12 kB / 0.6097 GB, free: 9.379 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04364/0.5077, allocations: 15.83 MB / 0.6251 GB, free: 11.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5078, allocations: 0 / 0.6251 GB, free: 11.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5078, allocations: 4 kB / 0.6251 GB, free: 11.59 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.000974/0.5088, allocations: 0.679 MB / 0.6258 GB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5088, allocations: 8.031 kB / 0.6258 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.474e-05/0.5089, allocations: 78.53 kB / 0.6259 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.5093, allocations: 98.91 kB / 0.626 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.5097, allocations: 301.6 kB / 0.6263 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.5098, allocations: 23.91 kB / 0.6263 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.5098, allocations: 39.06 kB / 0.6263 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.5106, allocations: 0.537 MB / 0.6268 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.5106, allocations: 0 / 0.6268 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.5106, allocations: 18.92 kB / 0.6269 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.5107, allocations: 28.7 kB / 0.6269 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.5112, allocations: 373 kB / 0.6272 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.513, allocations: 1.416 MB / 0.6286 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.5134, allocations: 243.1 kB / 0.6289 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.5136, allocations: 106.9 kB / 0.629 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.5136, allocations: 11.97 kB / 0.629 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5137, allocations: 37.38 kB / 0.629 GB, free: 7.902 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.5137, allocations: 4 kB / 0.629 GB, free: 7.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005757/0.5142, allocations: 289.7 kB / 0.6293 GB, free: 7.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5143, allocations: 106.8 kB / 0.6294 GB, free: 7.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.5148, allocations: 490.8 kB / 0.6299 GB, free: 7.102 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5149, allocations: 29.14 kB / 0.6299 GB, free: 7.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.515, allocations: 213.8 kB / 0.6301 GB, free: 6.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.5151, allocations: 61.84 kB / 0.6301 GB, free: 6.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.5151, allocations: 3.25 kB / 0.6301 GB, free: 6.879 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5153, allocations: 354.5 kB / 0.6305 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.5154, allocations: 100.2 kB / 0.6306 GB, free: 6.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5156, allocations: 138.9 kB / 0.6307 GB, free: 6.309 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.5158, allocations: 113.1 kB / 0.6308 GB, free: 6.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5159, allocations: 0 / 0.6308 GB, free: 6.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005364/0.5164, allocations: 321.6 kB / 0.6311 GB, free: 5.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5164, allocations: 8 kB / 0.6311 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.476e-05/0.5165, allocations: 27.97 kB / 0.6312 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5165, allocations: 7.953 kB / 0.6312 GB, free: 5.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.5167, allocations: 44.06 kB / 0.6312 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5167, allocations: 0 / 0.6312 GB, free: 5.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.517, allocations: 71.03 kB / 0.6313 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.5171, allocations: 15.98 kB / 0.6313 GB, free: 5.75 MB / 426.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 8.457e-05/0.5172, allocations: 112.9 kB / 0.6314 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.597e-05/0.5173, allocations: 47.31 kB / 0.6314 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006395/0.5179, allocations: 361.4 kB / 0.6318 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.5179, allocations: 4 kB / 0.6318 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5179, allocations: 3.953 kB / 0.6318 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5179, allocations: 0 / 0.6318 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.5185, allocations: 373 kB / 0.6322 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.942e-05/0.5185, allocations: 27.97 kB / 0.6322 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.5187, allocations: 35.91 kB / 0.6322 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5187, allocations: 4 kB / 0.6322 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.5187, allocations: 7.984 kB / 0.6322 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.5187, allocations: 7.938 kB / 0.6322 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5187, allocations: 0 / 0.6322 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005517/0.5193, allocations: 0.5412 MB / 0.6328 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.5195, allocations: 170.5 kB / 0.6329 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.5196, allocations: 3.953 kB / 0.6329 GB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.5199, allocations: 35.53 kB / 0.633 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.52, allocations: 19.23 kB / 0.633 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.52, allocations: 11.98 kB / 0.633 GB, free: 4.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004127/0.5204, allocations: 401.7 kB / 0.6334 GB, free: 3.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5205, allocations: 3.938 kB / 0.6334 GB, free: 3.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006977/0.5212, allocations: 174.5 kB / 0.6335 GB, free: 3.559 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.001289/0.5225, allocations: 1.407 MB / 0.6349 GB, free: 2.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.523, allocations: 464.3 kB / 0.6354 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.523, allocations: 0 / 0.6354 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.5233, allocations: 355.1 kB / 0.6357 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.5238, allocations: 98.58 kB / 0.6358 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5254, allocations: 0.7938 MB / 0.6366 GB, free: 436 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.5258, allocations: 0.8632 MB / 0.6374 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.526, allocations: 67.23 kB / 0.6375 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.5262, allocations: 119 kB / 0.6376 GB, free: 15.45 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/0.5262, allocations: 0 / 0.6376 GB, free: 15.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.551, allocations: 12.59 MB / 0.6499 GB, free: 3.082 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.5513, allocations: 195.6 kB / 0.6501 GB, free: 2.855 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.562, allocations: 0 / 0.6501 GB, free: 2.855 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat