Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001246, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.00087, allocations: 102.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2105/0.2105, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 11.98 kB / 431.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 58.86 MB / 490.4 MB, free: 8.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5462, allocations: 90.12 MB / 0.5669 GB, free: 9.543 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/0.5467, allocations: 92.5 kB / 0.567 GB, free: 9.488 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.5584, allocations: 3.522 MB / 0.5704 GB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5584, allocations: 4 kB / 0.5704 GB, free: 6.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.5585, allocations: 0 / 0.5704 GB, free: 6.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000754/0.5592, allocations: 402 kB / 0.5708 GB, free: 5.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5593, allocations: 12.03 kB / 0.5708 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.693e-05/0.5594, allocations: 49.17 kB / 0.5709 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.5598, allocations: 39.12 kB / 0.5709 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.56, allocations: 194.8 kB / 0.5711 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5601, allocations: 7.25 kB / 0.5711 GB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5601, allocations: 7.25 kB / 0.5711 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.5606, allocations: 176.9 kB / 0.5713 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5606, allocations: 0 / 0.5713 GB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.5606, allocations: 12.06 kB / 0.5713 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.5607, allocations: 7.984 kB / 0.5713 GB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.5611, allocations: 145.9 kB / 0.5714 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.5622, allocations: 0.6571 MB / 0.5721 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.5626, allocations: 109.2 kB / 0.5722 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.5626, allocations: 3.938 kB / 0.5722 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.5626, allocations: 34.56 kB / 0.5722 GB, free: 4.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.5626, allocations: 0 / 0.5722 GB, free: 4.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004955/0.5631, allocations: 144.1 kB / 0.5723 GB, free: 4.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5632, allocations: 59.41 kB / 0.5724 GB, free: 4.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.5633, allocations: 120.2 kB / 0.5725 GB, free: 4.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.5634, allocations: 29.52 kB / 0.5725 GB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.5635, allocations: 119.4 kB / 0.5727 GB, free: 4.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.5635, allocations: 31.53 kB / 0.5727 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.5635, allocations: 0 / 0.5727 GB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5637, allocations: 318.6 kB / 0.573 GB, free: 3.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5638, allocations: 55.02 kB / 0.573 GB, free: 3.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.564, allocations: 87.08 kB / 0.5731 GB, free: 3.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.5641, allocations: 58.27 kB / 0.5732 GB, free: 3.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5641, allocations: 4 kB / 0.5732 GB, free: 3.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000371/0.5645, allocations: 168 kB / 0.5733 GB, free: 3.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.5645, allocations: 4 kB / 0.5734 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5646, allocations: 8.25 kB / 0.5734 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.5646, allocations: 7.938 kB / 0.5734 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.5648, allocations: 43.91 kB / 0.5734 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5648, allocations: 8.016 kB / 0.5734 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.5649, allocations: 23.27 kB / 0.5734 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.5649, allocations: 7.984 kB / 0.5734 GB, free: 3.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.5651, allocations: 141.5 kB / 0.5736 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.5651, allocations: 3.906 kB / 0.5736 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.5655, allocations: 135.1 kB / 0.5737 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5655, allocations: 8 kB / 0.5737 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5655, allocations: 7.922 kB / 0.5737 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5655, allocations: 0 / 0.5737 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.5658, allocations: 199.7 kB / 0.5739 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5658, allocations: 0 / 0.5739 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.5659, allocations: 31.97 kB / 0.574 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.5659, allocations: 0 / 0.574 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.566, allocations: 0 / 0.574 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.566, allocations: 0 / 0.574 GB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.566, allocations: 4 kB / 0.574 GB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.5663, allocations: 213.2 kB / 0.5742 GB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.5664, allocations: 96.89 kB / 0.5743 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5664, allocations: 4 kB / 0.5743 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.5665, allocations: 7.375 kB / 0.5743 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.5666, allocations: 11.92 kB / 0.5743 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.5666, allocations: 4 kB / 0.5743 GB, free: 2.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.5667, allocations: 90.95 kB / 0.5744 GB, free: 2.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5667, allocations: 0 / 0.5744 GB, free: 2.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.567, allocations: 27.31 kB / 0.5744 GB, free: 2.277 MB / 378.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007507/0.5677, allocations: 0.7728 MB / 0.5751 GB, free: 1.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.5681, allocations: 118 kB / 0.5753 GB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5681, allocations: 0 / 0.5753 GB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.5682, allocations: 44.28 kB / 0.5753 GB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.5684, allocations: 7.5 kB / 0.5753 GB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.5704, allocations: 1.96 MB / 0.5772 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.5708, allocations: 0.7199 MB / 0.5779 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.5709, allocations: 24.53 kB / 0.5779 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.5709, allocations: 29.55 kB / 0.578 GB, free: 14.57 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.571, allocations: 0 / 0.578 GB, free: 14.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.5852, allocations: 2.33 MB / 0.5803 GB, free: 12.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.5855, allocations: 228.9 kB / 0.5805 GB, free: 12.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.242, allocations: 7.938 kB / 0.5805 GB, free: 12.07 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat