Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001182/0.001182, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.000878, allocations: 90.98 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 45.16 MB / 383.8 MB, free: 212 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/1.999e-05, allocations: 4 kB / 453.3 MB, free: 75.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5611, allocations: 93.3 MB / 0.5956 GB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5615, allocations: 90 kB / 0.5957 GB, free: 8.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02621/0.5878, allocations: 9.654 MB / 0.6051 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5878, allocations: 0 / 0.6051 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.5878, allocations: 8 kB / 0.6051 GB, free: 0.5781 MB / 394.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.0008071/0.5886, allocations: 0.5634 MB / 0.6057 GB, free: 15.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5887, allocations: 8.031 kB / 0.6057 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.009e-05/0.5888, allocations: 39.53 kB / 0.6057 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.5891, allocations: 278.3 kB / 0.606 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5892, allocations: 16 kB / 0.606 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.5892, allocations: 20 kB / 0.606 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006471/0.5899, allocations: 488.8 kB / 0.6065 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.5906, allocations: 470.1 kB / 0.6069 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5906, allocations: 0 / 0.6069 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.5906, allocations: 4 kB / 0.6069 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/0.5907, allocations: 33.28 kB / 0.607 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.5924, allocations: 1.053 MB / 0.608 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.5929, allocations: 416 kB / 0.6084 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.5931, allocations: 135.2 kB / 0.6085 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.5932, allocations: 9.156 kB / 0.6085 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.5932, allocations: 34.42 kB / 0.6086 GB, free: 13.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.704e-06/0.5932, allocations: 0 / 0.6086 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005673/0.5938, allocations: 339 kB / 0.6089 GB, free: 13.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.5939, allocations: 55.41 kB / 0.6089 GB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.594, allocations: 133.5 kB / 0.6091 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.594, allocations: 25.7 kB / 0.6091 GB, free: 12.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5941, allocations: 201.8 kB / 0.6093 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.495e-05/0.5942, allocations: 89.34 kB / 0.6094 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.741e-05/0.5942, allocations: 0 / 0.6094 GB, free: 12.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5944, allocations: 334 kB / 0.6097 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5945, allocations: 114.7 kB / 0.6098 GB, free: 12.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5947, allocations: 118.3 kB / 0.6099 GB, free: 12.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.5949, allocations: 137.8 kB / 0.61 GB, free: 11.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5949, allocations: 0 / 0.61 GB, free: 11.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005045/0.5955, allocations: 322.1 kB / 0.6103 GB, free: 11.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5955, allocations: 7.938 kB / 0.6103 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5955, allocations: 3.984 kB / 0.6104 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.5955, allocations: 4 kB / 0.6104 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.5963, allocations: 151.8 kB / 0.6105 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.5994, allocations: 5.545 MB / 0.6159 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.5997, allocations: 24.05 kB / 0.6159 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.5997, allocations: 19.11 kB / 0.616 GB, free: 5.711 MB / 410.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.0001317/0.5999, allocations: 105 kB / 0.6161 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005187/0.6004, allocations: 333.3 kB / 0.6164 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.6004, allocations: 15.81 kB / 0.6164 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007465/0.6012, allocations: 436.2 kB / 0.6168 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6012, allocations: 0 / 0.6168 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6012, allocations: 4 kB / 0.6168 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6012, allocations: 4 kB / 0.6168 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.6017, allocations: 346.2 kB / 0.6171 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6017, allocations: 0 / 0.6171 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.6025, allocations: 159.1 kB / 0.6173 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6025, allocations: 0 / 0.6173 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.6025, allocations: 11.98 kB / 0.6173 GB, free: 4.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.6058, allocations: 5.548 MB / 0.6227 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6058, allocations: 0 / 0.6227 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006007/0.6064, allocations: 426.4 kB / 0.6231 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.6065, allocations: 96.84 kB / 0.6232 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.6066, allocations: 8.188 kB / 0.6232 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.6068, allocations: 11.94 kB / 0.6232 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.6069, allocations: 19.97 kB / 0.6233 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.6069, allocations: 11.75 kB / 0.6233 GB, free: 14.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.383e-05/0.607, allocations: 122.5 kB / 0.6234 GB, free: 14.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.607, allocations: 0 / 0.6234 GB, free: 14.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005722/0.6076, allocations: 127.2 kB / 0.6235 GB, free: 13.9 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.001154/0.6087, allocations: 1.029 MB / 0.6245 GB, free: 12.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.6098, allocations: 364.4 kB / 0.6249 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6098, allocations: 0 / 0.6249 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.6105, allocations: 245.5 kB / 0.6251 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.6108, allocations: 19.44 kB / 0.6251 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.6122, allocations: 0.6547 MB / 0.6258 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.6127, allocations: 0.8672 MB / 0.6266 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.6129, allocations: 65.78 kB / 0.6267 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.6131, allocations: 112.1 kB / 0.6268 GB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6131, allocations: 0 / 0.6268 GB, free: 10.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.6422, allocations: 6.342 MB / 0.633 GB, free: 4.371 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.6425, allocations: 187.8 kB / 0.6331 GB, free: 4.176 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/2.515, allocations: 1.828 kB / 0.6331 GB, free: 4.176 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat