Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.001055/0.001055, 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.282/1.282, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009152/0.0009152, allocations: 89.55 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1803/0.1803, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.81e-05/3.833e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09457, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.4726, allocations: 99.02 MB / 0.6082 GB, free: 10.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4729, allocations: 100.6 kB / 0.6083 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04165/0.5146, allocations: 14.81 MB / 0.6227 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5146, allocations: 0 / 0.6227 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5146, allocations: 4 kB / 0.6227 GB, free: 14.02 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009627/0.5156, allocations: 0.5962 MB / 0.6233 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5156, allocations: 8.031 kB / 0.6233 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.866e-05/0.5157, allocations: 86.77 kB / 0.6234 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.5158, allocations: 43.44 kB / 0.6235 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.5162, allocations: 281.5 kB / 0.6237 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.5162, allocations: 31.7 kB / 0.6238 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.5163, allocations: 42.05 kB / 0.6238 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.517, allocations: 0.5125 MB / 0.6243 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.517, allocations: 0 / 0.6243 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.5171, allocations: 19.23 kB / 0.6243 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.5171, allocations: 32.92 kB / 0.6243 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.5178, allocations: 0.5394 MB / 0.6249 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5195, allocations: 1.213 MB / 0.6261 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.52, allocations: 355.5 kB / 0.6264 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.5202, allocations: 118.3 kB / 0.6265 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.5203, allocations: 4.188 kB / 0.6265 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5203, allocations: 42.06 kB / 0.6266 GB, free: 10.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.5203, allocations: 0 / 0.6266 GB, free: 10.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005372/0.5208, allocations: 317.2 kB / 0.6269 GB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.5209, allocations: 55.41 kB / 0.6269 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.5213, allocations: 397 kB / 0.6273 GB, free: 9.805 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5213, allocations: 33.58 kB / 0.6273 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.765e-05/0.5214, allocations: 186.5 kB / 0.6275 GB, free: 9.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.5215, allocations: 76.53 kB / 0.6276 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/0.5215, allocations: 7.312 kB / 0.6276 GB, free: 9.574 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5216, allocations: 349.1 kB / 0.6279 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5218, allocations: 108.8 kB / 0.628 GB, free: 9.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.5219, allocations: 102.2 kB / 0.6281 GB, free: 9.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.5221, allocations: 111.6 kB / 0.6282 GB, free: 8.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5221, allocations: 0 / 0.6282 GB, free: 8.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004654/0.5226, allocations: 313.7 kB / 0.6285 GB, free: 8.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5226, allocations: 7.938 kB / 0.6285 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5226, allocations: 4 kB / 0.6285 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.5227, allocations: 0 / 0.6285 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/0.5234, allocations: 151.8 kB / 0.6287 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.526, allocations: 5.514 MB / 0.6341 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.5262, allocations: 54.83 kB / 0.6341 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.5262, allocations: 15.94 kB / 0.6341 GB, free: 2.789 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 8.412e-05/0.5263, allocations: 111.4 kB / 0.6342 GB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.5264, allocations: 39.72 kB / 0.6343 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006751/0.5271, allocations: 421.6 kB / 0.6347 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5271, allocations: 4 kB / 0.6347 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5271, allocations: 0 / 0.6347 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5271, allocations: 0 / 0.6347 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.5275, allocations: 374 kB / 0.635 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5275, allocations: 0 / 0.635 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.5282, allocations: 155.8 kB / 0.6352 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5282, allocations: 4 kB / 0.6352 GB, free: 1.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.5282, allocations: 11.17 kB / 0.6352 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.5307, allocations: 5.517 MB / 0.6406 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5307, allocations: 4.094 kB / 0.6406 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.5312, allocations: 419.7 kB / 0.641 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.5313, allocations: 116.7 kB / 0.6411 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.5314, allocations: 3.75 kB / 0.6411 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.5316, allocations: 15.3 kB / 0.6411 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.5316, allocations: 27.34 kB / 0.6411 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.5317, allocations: 12 kB / 0.6412 GB, free: 11.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.5319, allocations: 328.6 kB / 0.6415 GB, free: 11.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.532, allocations: 0 / 0.6415 GB, free: 11.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005181/0.5325, allocations: 161.3 kB / 0.6416 GB, free: 11.09 MB / 442.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.001014/0.5335, allocations: 1.12 MB / 0.6427 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009156/0.5344, allocations: 336.8 kB / 0.643 GB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5344, allocations: 0 / 0.643 GB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006951/0.5351, allocations: 233 kB / 0.6433 GB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.5355, allocations: 85.2 kB / 0.6433 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.5366, allocations: 0.7131 MB / 0.644 GB, free: 8.707 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.537, allocations: 0.8622 MB / 0.6449 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.5371, allocations: 75.22 kB / 0.645 GB, free: 7.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.5373, allocations: 109.6 kB / 0.6451 GB, free: 7.711 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5373, allocations: 0 / 0.6451 GB, free: 7.711 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.5618, allocations: 12.09 MB / 0.6569 GB, free: 11.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.5621, allocations: 226.4 kB / 0.6571 GB, free: 11.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.619, allocations: 0 / 0.6571 GB, free: 11.66 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat