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.001138/0.001138, 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.266/1.266, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008289/0.0008289, allocations: 98.78 kB / 292.1 MB, free: 6.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.976e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.0986, allocations: 63.25 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4687, allocations: 93.97 MB / 0.6032 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.469, allocations: 98.17 kB / 0.6033 GB, free: 15.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.025/0.494, allocations: 9.782 MB / 0.6129 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.494, allocations: 0 / 0.6129 GB, free: 7.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.494, allocations: 4 kB / 0.6129 GB, free: 7.281 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.0007706/0.4948, allocations: 0.5666 MB / 0.6134 GB, free: 6.691 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4949, allocations: 8.031 kB / 0.6135 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.495, allocations: 91.2 kB / 0.6135 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.4951, allocations: 39.53 kB / 0.6136 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.4955, allocations: 281 kB / 0.6138 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.4955, allocations: 27.22 kB / 0.6139 GB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.4956, allocations: 34.5 kB / 0.6139 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007377/0.4963, allocations: 0.5087 MB / 0.6144 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4963, allocations: 0 / 0.6144 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.4964, allocations: 17.06 kB / 0.6144 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-05/0.4964, allocations: 40.91 kB / 0.6145 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006928/0.4971, allocations: 0.5431 MB / 0.615 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.4989, allocations: 1.196 MB / 0.6162 GB, free: 4.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.4994, allocations: 366.3 kB / 0.6165 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.4996, allocations: 118 kB / 0.6166 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.4996, allocations: 12.16 kB / 0.6166 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.4997, allocations: 34.25 kB / 0.6167 GB, free: 3.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.4997, allocations: 0 / 0.6167 GB, free: 3.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005438/0.5002, allocations: 310.8 kB / 0.617 GB, free: 3.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5003, allocations: 55.5 kB / 0.617 GB, free: 3.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.5007, allocations: 404.3 kB / 0.6174 GB, free: 3.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5007, allocations: 29.33 kB / 0.6174 GB, free: 3.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5008, allocations: 184.2 kB / 0.6176 GB, free: 2.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.5009, allocations: 80.47 kB / 0.6177 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.5009, allocations: 3.375 kB / 0.6177 GB, free: 2.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.501, allocations: 354.7 kB / 0.618 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.5012, allocations: 98.34 kB / 0.6181 GB, free: 2.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.5013, allocations: 109.2 kB / 0.6182 GB, free: 2.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.5015, allocations: 114.9 kB / 0.6183 GB, free: 2.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5015, allocations: 0 / 0.6183 GB, free: 2.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004483/0.502, allocations: 314 kB / 0.6186 GB, free: 1.977 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.502, allocations: 4 kB / 0.6186 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.502, allocations: 7.938 kB / 0.6186 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.5021, allocations: 0 / 0.6186 GB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.5028, allocations: 159 kB / 0.6188 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.5054, allocations: 5.512 MB / 0.6242 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.5057, allocations: 51.28 kB / 0.6242 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.5057, allocations: 12.25 kB / 0.6242 GB, free: 12.1 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 (22): * Single equations (assignments): 13 * 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 9.699e-05/0.5059, allocations: 123.3 kB / 0.6243 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.5059, allocations: 31.62 kB / 0.6244 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.5066, allocations: 429.5 kB / 0.6248 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5066, allocations: 0 / 0.6248 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5066, allocations: 0 / 0.6248 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.5067, allocations: 3.984 kB / 0.6248 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.5071, allocations: 383.5 kB / 0.6252 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5071, allocations: 4 kB / 0.6252 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006946/0.5078, allocations: 147.9 kB / 0.6253 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5078, allocations: 0 / 0.6253 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.5078, allocations: 7.562 kB / 0.6253 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/0.5106, allocations: 5.521 MB / 0.6307 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5106, allocations: 0 / 0.6307 GB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.5111, allocations: 416.4 kB / 0.6311 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5112, allocations: 116.6 kB / 0.6312 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.5113, allocations: 7.875 kB / 0.6312 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5115, allocations: 11.84 kB / 0.6312 GB, free: 4.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.5115, allocations: 19.97 kB / 0.6312 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.5116, allocations: 15.36 kB / 0.6313 GB, free: 4.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.5119, allocations: 327 kB / 0.6316 GB, free: 4.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5119, allocations: 0 / 0.6316 GB, free: 4.551 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.5123, allocations: 106.9 kB / 0.6317 GB, free: 4.453 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 (22): * Single equations (assignments): 13 * 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.0009243/0.5132, allocations: 1.039 MB / 0.6327 GB, free: 3.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000946/0.5142, allocations: 347.6 kB / 0.633 GB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5142, allocations: 0 / 0.633 GB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.5149, allocations: 225.6 kB / 0.6332 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.5153, allocations: 74.48 kB / 0.6333 GB, free: 2.852 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5164, allocations: 0.6892 MB / 0.634 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.5168, allocations: 0.8562 MB / 0.6348 GB, free: 1.301 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.517, allocations: 83.2 kB / 0.6349 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5172, allocations: 111.1 kB / 0.635 GB, free: 1.176 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5172, allocations: 0 / 0.635 GB, free: 1.176 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.5399, allocations: 10.74 MB / 0.6455 GB, free: 6.715 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.5402, allocations: 226.4 kB / 0.6457 GB, free: 6.484 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/2.643, allocations: 2.391 kB / 0.6457 GB, free: 6.484 MB / 442.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