Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01333/0.01333, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.226/2.226, allocations: 194.5 MB / 210.3 MB, free: 7.797 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002173/0.002172, allocations: 108.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2663/0.2663, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006295, allocations: 13.66 kB / 406.3 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 54.88 MB / 461.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6022, allocations: 84.44 MB / 0.5328 GB, free: 26.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004823/0.6027, allocations: 96.03 kB / 0.5329 GB, free: 26.69 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03546/0.6382, allocations: 6.015 MB / 0.5388 GB, free: 26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6383, allocations: 3.938 kB / 0.5388 GB, free: 25.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.6383, allocations: 2.688 kB / 0.5388 GB, free: 25.99 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008426/0.6392, allocations: 451.1 kB / 0.5392 GB, free: 25.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.6393, allocations: 9.531 kB / 0.5392 GB, free: 25.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.6394, allocations: 57.89 kB / 0.5393 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009839/0.6404, allocations: 73.56 kB / 0.5394 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.6407, allocations: 222.9 kB / 0.5396 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.6408, allocations: 14.77 kB / 0.5396 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/0.6409, allocations: 13.97 kB / 0.5396 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6419, allocations: 276.9 kB / 0.5399 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.642, allocations: 1 kB / 0.5399 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.642, allocations: 7.641 kB / 0.5399 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.6421, allocations: 20.69 kB / 0.5399 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6432, allocations: 274.7 kB / 0.5402 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.6455, allocations: 0.8009 MB / 0.5409 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008028/0.6464, allocations: 188.5 kB / 0.5411 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.6464, allocations: 2.922 kB / 0.5411 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.6465, allocations: 35.94 kB / 0.5412 GB, free: 24.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.375e-06/0.6465, allocations: 0 / 0.5412 GB, free: 24.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001462/0.6479, allocations: 265.1 kB / 0.5414 GB, free: 24.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.648, allocations: 55.94 kB / 0.5415 GB, free: 24.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.6483, allocations: 168 kB / 0.5416 GB, free: 24.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.6483, allocations: 29.14 kB / 0.5416 GB, free: 24.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.6485, allocations: 138.4 kB / 0.5418 GB, free: 24.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.6485, allocations: 32.83 kB / 0.5418 GB, free: 24.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.6486, allocations: 3.5 kB / 0.5418 GB, free: 24.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.6487, allocations: 330.4 kB / 0.5421 GB, free: 24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.6491, allocations: 74.19 kB / 0.5422 GB, free: 23.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.6496, allocations: 127.3 kB / 0.5423 GB, free: 23.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.6501, allocations: 90.34 kB / 0.5424 GB, free: 23.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6501, allocations: 0 / 0.5424 GB, free: 23.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001154/0.6512, allocations: 262 kB / 0.5427 GB, free: 23.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6513, allocations: 4.594 kB / 0.5427 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6513, allocations: 3.031 kB / 0.5427 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.6514, allocations: 10.28 kB / 0.5427 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.6523, allocations: 75.94 kB / 0.5427 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.6534, allocations: 1.789 MB / 0.5445 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.6539, allocations: 28.7 kB / 0.5445 GB, free: 22.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.654, allocations: 13.41 kB / 0.5445 GB, free: 22.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.6542, allocations: 144.2 kB / 0.5447 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.6543, allocations: 13.59 kB / 0.5447 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.656, allocations: 301.5 kB / 0.545 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6561, allocations: 10.73 kB / 0.545 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6561, allocations: 0 / 0.545 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6561, allocations: 0 / 0.545 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.6566, allocations: 244.8 kB / 0.5452 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6566, allocations: 5.734 kB / 0.5452 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.6573, allocations: 56.77 kB / 0.5453 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6573, allocations: 1.875 kB / 0.5453 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.6574, allocations: 4.438 kB / 0.5453 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.6592, allocations: 1.783 MB / 0.547 GB, free: 35.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6592, allocations: 3.938 kB / 0.547 GB, free: 35.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.6601, allocations: 269.4 kB / 0.5473 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.6603, allocations: 93.53 kB / 0.5474 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.6603, allocations: 5.875 kB / 0.5474 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.6607, allocations: 9.234 kB / 0.5474 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.6608, allocations: 10.03 kB / 0.5474 GB, free: 35.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.6608, allocations: 10.78 kB / 0.5474 GB, free: 35.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002882/0.6611, allocations: 147.4 kB / 0.5475 GB, free: 35.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6612, allocations: 0 / 0.5475 GB, free: 35.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008459/0.662, allocations: 65.08 kB / 0.5476 GB, free: 35.56 MB / 394.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/0.6635, allocations: 0.848 MB / 0.5484 GB, free: 34.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.6648, allocations: 195.4 kB / 0.5486 GB, free: 34.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6648, allocations: 1.031 kB / 0.5486 GB, free: 34.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007067/0.6655, allocations: 93.03 kB / 0.5487 GB, free: 34.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.6661, allocations: 11.94 kB / 0.5487 GB, free: 34.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/0.6707, allocations: 2.239 MB / 0.5509 GB, free: 33.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.6713, allocations: 0.7469 MB / 0.5516 GB, free: 32.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/0.6718, allocations: 54.34 kB / 0.5517 GB, free: 32.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.6721, allocations: 52.59 kB / 0.5517 GB, free: 32.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6721, allocations: 0.9688 kB / 0.5517 GB, free: 32.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.7067, allocations: 5.001 MB / 0.5566 GB, free: 31.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.707, allocations: 257.3 kB / 0.5569 GB, free: 31.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.505, allocations: 0 / 0.5569 GB, free: 31.61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat