Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.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.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",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.001722/0.001722, allocations: 177.9 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.422/1.422, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008492/0.0008494, allocations: 89.14 kB / 292.1 MB, free: 10.89 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.3522/0.3522, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003405, allocations: 12 kB / 460 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3796, allocations: 61.9 MB / 0.5097 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5164, allocations: 102.7 MB / 0.6099 GB, free: 8.258 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5168, allocations: 103.9 kB / 0.61 GB, free: 8.164 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4562:11-4565:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4589:11-4592:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4549:11-4552:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4576:11-4579:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07132/0.5881, allocations: 22.97 MB / 0.6325 GB, free: 1.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5881, allocations: 0 / 0.6325 GB, free: 1.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.5882, allocations: 8 kB / 0.6325 GB, free: 1.035 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001145/0.5893, allocations: 0.6239 MB / 0.6331 GB, free: 372 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5894, allocations: 12.03 kB / 0.6331 GB, free: 360 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.5895, allocations: 74.53 kB / 0.6332 GB, free: 276 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.5896, allocations: 35.61 kB / 0.6332 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.5899, allocations: 276.2 kB / 0.6335 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.59, allocations: 25 kB / 0.6335 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.59, allocations: 31.98 kB / 0.6335 GB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.5908, allocations: 0.4943 MB / 0.634 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5908, allocations: 4 kB / 0.634 GB, free: 15.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.5909, allocations: 19.92 kB / 0.634 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.5909, allocations: 40.97 kB / 0.6341 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.5918, allocations: 0.5386 MB / 0.6346 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.5937, allocations: 1.333 MB / 0.6359 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.5945, allocations: 371.8 kB / 0.6362 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.5945, allocations: 12.09 kB / 0.6363 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5946, allocations: 38.48 kB / 0.6363 GB, free: 12.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.5946, allocations: 0 / 0.6363 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008967/0.5955, allocations: 439.4 kB / 0.6367 GB, free: 12.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.5955, allocations: 55.41 kB / 0.6368 GB, free: 12.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.5958, allocations: 285.6 kB / 0.637 GB, free: 12.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5958, allocations: 29.7 kB / 0.6371 GB, free: 12.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.596, allocations: 196.1 kB / 0.6373 GB, free: 11.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.794e-05/0.596, allocations: 94.59 kB / 0.6373 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.5961, allocations: 4 kB / 0.6373 GB, free: 11.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5962, allocations: 342.9 kB / 0.6377 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.5964, allocations: 127.9 kB / 0.6378 GB, free: 11.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.5967, allocations: 159.3 kB / 0.6379 GB, free: 11.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.597, allocations: 149.2 kB / 0.6381 GB, free: 10.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.597, allocations: 0 / 0.6381 GB, free: 10.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006556/0.5977, allocations: 387.4 kB / 0.6385 GB, free: 10.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5977, allocations: 5.875 kB / 0.6385 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5977, allocations: 0 / 0.6385 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5977, allocations: 4 kB / 0.6385 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.5983, allocations: 119.8 kB / 0.6386 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.5997, allocations: 3.012 MB / 0.6415 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.6, allocations: 43.58 kB / 0.6416 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.6, allocations: 19.98 kB / 0.6416 GB, free: 7.285 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.6002, allocations: 174.2 kB / 0.6418 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.6003, allocations: 31.67 kB / 0.6418 GB, free: 7.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009333/0.6012, allocations: 489.3 kB / 0.6423 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.6013, allocations: 4 kB / 0.6423 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6013, allocations: 0 / 0.6423 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6013, allocations: 0 / 0.6423 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.6017, allocations: 373.3 kB / 0.6426 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6017, allocations: 0 / 0.6426 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.6023, allocations: 123.8 kB / 0.6427 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.6023, allocations: 0 / 0.6427 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.6023, allocations: 11.98 kB / 0.6427 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.604, allocations: 3.008 MB / 0.6457 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.604, allocations: 288 / 0.6457 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006899/0.6047, allocations: 453.7 kB / 0.6461 GB, free: 2.457 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.6048, allocations: 108.7 kB / 0.6462 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.6048, allocations: 8 kB / 0.6462 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.605, allocations: 16 kB / 0.6462 GB, free: 2.309 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.6051, allocations: 27.91 kB / 0.6463 GB, free: 2.281 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.6052, allocations: 16 kB / 0.6463 GB, free: 2.266 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.6054, allocations: 225.9 kB / 0.6465 GB, free: 2.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6054, allocations: 0 / 0.6465 GB, free: 2.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008359/0.6063, allocations: 203.6 kB / 0.6467 GB, free: 1.844 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.608, allocations: 1.169 MB / 0.6478 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.6089, allocations: 363.5 kB / 0.6482 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6089, allocations: 0 / 0.6482 GB, free: 300 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.6094, allocations: 203.8 kB / 0.6484 GB, free: 96 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.6098, allocations: 60.59 kB / 0.6484 GB, free: 36 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.613, allocations: 2.47 MB / 0.6508 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.6134, allocations: 0.8418 MB / 0.6517 GB, free: 12.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.6137, allocations: 126.7 kB / 0.6518 GB, free: 12.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.6139, allocations: 111.4 kB / 0.6519 GB, free: 12.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6139, allocations: 4 kB / 0.6519 GB, free: 12.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.6409, allocations: 10.37 MB / 0.662 GB, free: 2.316 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.6412, allocations: 255.6 kB / 0.6623 GB, free: 1.984 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.955, allocations: 0 / 0.6623 GB, free: 1.984 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat