Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 196.1 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.342/1.342, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000867/0.0008675, allocations: 84.03 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1868/0.1868, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/4.014e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4715, allocations: 91.53 MB / 0.6009 GB, free: 2.371 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4719, allocations: 97.42 kB / 0.601 GB, free: 2.312 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5514:11-5517: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.02332/0.4952, allocations: 7.99 MB / 0.6088 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4952, allocations: 0 / 0.6088 GB, free: 11.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4953, allocations: 8 kB / 0.6088 GB, free: 11.52 MB / 410.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.0006402/0.4959, allocations: 461.6 kB / 0.6092 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.496, allocations: 11.97 kB / 0.6092 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.496, allocations: 53.3 kB / 0.6093 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.4967, allocations: 87.23 kB / 0.6094 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.497, allocations: 225.3 kB / 0.6096 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4971, allocations: 11.5 kB / 0.6096 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.4971, allocations: 11.81 kB / 0.6096 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.4976, allocations: 291.1 kB / 0.6099 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4977, allocations: 4 kB / 0.6099 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.4977, allocations: 14.73 kB / 0.6099 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.4978, allocations: 15.98 kB / 0.6099 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004167/0.4982, allocations: 282.9 kB / 0.6102 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.4996, allocations: 0.8385 MB / 0.611 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5, allocations: 191.2 kB / 0.6112 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5001, allocations: 74.88 kB / 0.6112 GB, free: 9.066 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.5002, allocations: 3.938 kB / 0.6112 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5002, allocations: 33.62 kB / 0.6113 GB, free: 9.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.5002, allocations: 4 kB / 0.6113 GB, free: 9.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004464/0.5006, allocations: 193.7 kB / 0.6115 GB, free: 8.844 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.5007, allocations: 55.34 kB / 0.6115 GB, free: 8.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5009, allocations: 173 kB / 0.6117 GB, free: 8.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.5009, allocations: 25.7 kB / 0.6117 GB, free: 8.586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.501, allocations: 144.7 kB / 0.6118 GB, free: 8.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.5011, allocations: 30.67 kB / 0.6119 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.5011, allocations: 3.312 kB / 0.6119 GB, free: 8.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5012, allocations: 322.1 kB / 0.6122 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.5014, allocations: 70.25 kB / 0.6123 GB, free: 8.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.5015, allocations: 122.9 kB / 0.6124 GB, free: 7.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.5016, allocations: 82.17 kB / 0.6124 GB, free: 7.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5016, allocations: 0 / 0.6124 GB, free: 7.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003832/0.502, allocations: 240.6 kB / 0.6127 GB, free: 7.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5021, allocations: 4 kB / 0.6127 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5021, allocations: 4.219 kB / 0.6127 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5021, allocations: 4 kB / 0.6127 GB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.5026, allocations: 83.59 kB / 0.6128 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009326/0.5035, allocations: 1.787 MB / 0.6145 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.5037, allocations: 27.14 kB / 0.6145 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.5038, allocations: 15.97 kB / 0.6146 GB, free: 5.664 MB / 410.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 () * 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 8.357e-05/0.5039, allocations: 107.9 kB / 0.6147 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.5039, allocations: 23.27 kB / 0.6147 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.5044, allocations: 231.7 kB / 0.6149 GB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.5044, allocations: 3.938 kB / 0.6149 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5044, allocations: 0 / 0.6149 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5044, allocations: 4 kB / 0.6149 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.5047, allocations: 246.7 kB / 0.6151 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5047, allocations: 8 kB / 0.6152 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.5051, allocations: 71.05 kB / 0.6152 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5051, allocations: 0 / 0.6152 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.5051, allocations: 7.984 kB / 0.6152 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008803/0.506, allocations: 1.783 MB / 0.617 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.506, allocations: 0 / 0.617 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.5064, allocations: 281 kB / 0.6172 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.5065, allocations: 93.09 kB / 0.6173 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.5065, allocations: 11.5 kB / 0.6173 GB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5067, allocations: 7.984 kB / 0.6173 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.5068, allocations: 15.66 kB / 0.6174 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.5068, allocations: 11.98 kB / 0.6174 GB, free: 2.703 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.5069, allocations: 134.8 kB / 0.6175 GB, free: 2.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5069, allocations: 192 / 0.6175 GB, free: 2.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004068/0.5073, allocations: 75.14 kB / 0.6176 GB, free: 2.52 MB / 410.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 (10): * Single equations (assignments): 7 * 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.0007453/0.5081, allocations: 0.8772 MB / 0.6184 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.5086, allocations: 193.5 kB / 0.6186 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5086, allocations: 0 / 0.6186 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.5089, allocations: 105 kB / 0.6187 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.5091, allocations: 11.81 kB / 0.6187 GB, free: 1.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.5097, allocations: 322.8 kB / 0.619 GB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.51, allocations: 0.7512 MB / 0.6198 GB, free: 284 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.5103, allocations: 65.58 kB / 0.6198 GB, free: 220 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.5104, allocations: 56.75 kB / 0.6199 GB, free: 184 kB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5104, allocations: 0 / 0.6199 GB, free: 184 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.5286, allocations: 4.689 MB / 0.6245 GB, free: 11.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.5289, allocations: 230.3 kB / 0.6247 GB, free: 11.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.13, allocations: 64 / 0.6247 GB, free: 11.48 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat