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.000955/0.000955, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.0008582, allocations: 102.3 kB / 281.6 MB, free: 5.305 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.1936/0.1936, allocations: 44.14 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.231e-05, allocations: 0 / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 61.92 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5621, allocations: 101.9 MB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.5625, allocations: 99.92 kB / 0.5944 GB, free: 10.27 MB / 410.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.07192/0.6344, allocations: 22.81 MB / 0.6167 GB, free: 3.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6345, allocations: 4 kB / 0.6167 GB, free: 3.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.6345, allocations: 4 kB / 0.6167 GB, free: 3.312 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001207/0.6357, allocations: 0.5995 MB / 0.6173 GB, free: 2.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.6358, allocations: 15.98 kB / 0.6173 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.6359, allocations: 35.62 kB / 0.6174 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.6363, allocations: 280.7 kB / 0.6176 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.6364, allocations: 8 kB / 0.6176 GB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.6364, allocations: 20 kB / 0.6176 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006327/0.6371, allocations: 437.8 kB / 0.6181 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.6377, allocations: 433.1 kB / 0.6185 GB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6378, allocations: 3.938 kB / 0.6185 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.6378, allocations: 3.984 kB / 0.6185 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.717e-05/0.6379, allocations: 41.3 kB / 0.6185 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.6398, allocations: 1.227 MB / 0.6197 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006824/0.6405, allocations: 338.5 kB / 0.62 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.6406, allocations: 104.8 kB / 0.6201 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.6407, allocations: 8.438 kB / 0.6202 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6407, allocations: 38.55 kB / 0.6202 GB, free: 15.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.6407, allocations: 0 / 0.6202 GB, free: 15.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005057/0.6412, allocations: 261.2 kB / 0.6204 GB, free: 15.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.6413, allocations: 63.38 kB / 0.6205 GB, free: 15.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.6415, allocations: 161.3 kB / 0.6207 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.6415, allocations: 25.7 kB / 0.6207 GB, free: 15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6416, allocations: 203.9 kB / 0.6209 GB, free: 14.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.6417, allocations: 94.66 kB / 0.621 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.6417, allocations: 0 / 0.621 GB, free: 14.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.6419, allocations: 327 kB / 0.6213 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.642, allocations: 99.92 kB / 0.6214 GB, free: 14.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6422, allocations: 134.6 kB / 0.6215 GB, free: 14.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.6424, allocations: 125.2 kB / 0.6216 GB, free: 14.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6425, allocations: 7.938 kB / 0.6216 GB, free: 14.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000496/0.643, allocations: 315.4 kB / 0.6219 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.643, allocations: 8 kB / 0.6219 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.643, allocations: 0 / 0.6219 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.643, allocations: 4 kB / 0.6219 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.6436, allocations: 119.8 kB / 0.6221 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.6454, allocations: 3.028 MB / 0.625 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.6456, allocations: 23.69 kB / 0.625 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.6457, allocations: 15.98 kB / 0.625 GB, free: 10.38 MB / 442.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 () * 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.0001206/0.6458, allocations: 111.4 kB / 0.6252 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004257/0.6462, allocations: 270.4 kB / 0.6254 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.6463, allocations: 23.86 kB / 0.6254 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.6471, allocations: 393.8 kB / 0.6258 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.6471, allocations: 4 kB / 0.6258 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6471, allocations: 0 / 0.6258 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6471, allocations: 0 / 0.6258 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.6475, allocations: 313.8 kB / 0.6261 GB, free: 9.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6475, allocations: 4 kB / 0.6261 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.648, allocations: 115.8 kB / 0.6262 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.6481, allocations: 7.953 kB / 0.6262 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.6481, allocations: 11.92 kB / 0.6262 GB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.65, allocations: 3.016 MB / 0.6292 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.65, allocations: 7.938 kB / 0.6292 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.6505, allocations: 387.3 kB / 0.6296 GB, free: 5.559 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.299e-05/0.6506, allocations: 101 kB / 0.6297 GB, free: 5.441 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.6506, allocations: 4 kB / 0.6297 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.6508, allocations: 7.984 kB / 0.6297 GB, free: 5.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.6509, allocations: 19.97 kB / 0.6297 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.6509, allocations: 19.95 kB / 0.6297 GB, free: 5.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.6511, allocations: 131.3 kB / 0.6298 GB, free: 5.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6511, allocations: 0 / 0.6298 GB, free: 5.262 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008938/0.652, allocations: 207.5 kB / 0.63 GB, free: 5.059 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 (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.001271/0.6533, allocations: 1.09 MB / 0.6311 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.654, allocations: 303.7 kB / 0.6314 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.654, allocations: 0 / 0.6314 GB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.6544, allocations: 183.8 kB / 0.6316 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.6547, allocations: 11.98 kB / 0.6316 GB, free: 3.453 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.6559, allocations: 0.6215 MB / 0.6322 GB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.6564, allocations: 0.838 MB / 0.633 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003033/0.6567, allocations: 113.8 kB / 0.6331 GB, free: 1.816 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6569, allocations: 107.4 kB / 0.6332 GB, free: 1.711 MB / 442.7 MB Notification: Performance of SimCode: time 3e-07/0.6569, allocations: 0 / 0.6332 GB, free: 1.711 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.6855, allocations: 7.819 MB / 0.6408 GB, free: 9.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.6858, allocations: 191.8 kB / 0.641 GB, free: 9.715 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.503, allocations: 4 kB / 0.641 GB, free: 9.711 MB / 458.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