Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 184.2 kB / 17.06 MB, free: 5.074 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.438/1.438, allocations: 223.2 MB / 241 MB, free: 10.18 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.0008741/0.0008741, allocations: 101 kB / 292.1 MB, free: 10.72 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.3352/0.3352, allocations: 44.21 MB / 387.4 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003838, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 61.9 MB / 0.5097 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4789, allocations: 90.54 MB / 0.5981 GB, free: 4.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.4792, allocations: 107.9 kB / 0.5982 GB, free: 4.492 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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 4.0.0+maint.om/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.02526/0.5045, allocations: 7.934 MB / 0.6059 GB, free: 12.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5046, allocations: 0 / 0.6059 GB, free: 12.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.5046, allocations: 0 / 0.6059 GB, free: 12.52 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007165/0.5053, allocations: 456.1 kB / 0.6064 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.5054, allocations: 12.03 kB / 0.6064 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.943e-05/0.5055, allocations: 54.55 kB / 0.6064 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/0.5064, allocations: 91.67 kB / 0.6065 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.5068, allocations: 230.7 kB / 0.6067 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.5068, allocations: 19.94 kB / 0.6068 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.5068, allocations: 12 kB / 0.6068 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.5078, allocations: 315 kB / 0.6071 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5078, allocations: 0 / 0.6071 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.5079, allocations: 8 kB / 0.6071 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.5079, allocations: 12 kB / 0.6071 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.5091, allocations: 327.7 kB / 0.6074 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.5113, allocations: 0.8456 MB / 0.6082 GB, free: 9.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.5124, allocations: 222.3 kB / 0.6084 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.5125, allocations: 4.031 kB / 0.6084 GB, free: 9.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.5125, allocations: 38.56 kB / 0.6085 GB, free: 9.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.5125, allocations: 0 / 0.6085 GB, free: 9.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.001553/0.5141, allocations: 309.5 kB / 0.6088 GB, free: 9.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5142, allocations: 55.41 kB / 0.6088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.5144, allocations: 171.5 kB / 0.609 GB, free: 9.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.5144, allocations: 29.7 kB / 0.609 GB, free: 9.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5146, allocations: 134.3 kB / 0.6091 GB, free: 8.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.5146, allocations: 47.39 kB / 0.6092 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.5147, allocations: 3.938 kB / 0.6092 GB, free: 8.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5148, allocations: 322.8 kB / 0.6095 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.5153, allocations: 87.89 kB / 0.6096 GB, free: 8.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.5157, allocations: 150.7 kB / 0.6097 GB, free: 8.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.5162, allocations: 99.84 kB / 0.6098 GB, free: 8.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5162, allocations: 4 kB / 0.6098 GB, free: 8.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00104/0.5173, allocations: 277.1 kB / 0.6101 GB, free: 7.969 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5173, allocations: 4 kB / 0.6101 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5173, allocations: 4 kB / 0.6101 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5173, allocations: 0 / 0.6101 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.518, allocations: 91.78 kB / 0.6102 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.5192, allocations: 1.782 MB / 0.6119 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.5194, allocations: 32.05 kB / 0.612 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.5195, allocations: 19.97 kB / 0.612 GB, free: 5.969 MB / 426.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.0001647/0.5197, allocations: 142.3 kB / 0.6121 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.5197, allocations: 11.91 kB / 0.6121 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008385/0.5206, allocations: 278.6 kB / 0.6124 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5206, allocations: 0 / 0.6124 GB, free: 5.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5206, allocations: 3.953 kB / 0.6124 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5206, allocations: 0 / 0.6124 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5209, allocations: 253.5 kB / 0.6126 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5209, allocations: 0 / 0.6126 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.5213, allocations: 71.91 kB / 0.6127 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5213, allocations: 0 / 0.6127 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.5214, allocations: 11.98 kB / 0.6127 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008747/0.5222, allocations: 1.785 MB / 0.6145 GB, free: 3.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5223, allocations: 7.984 kB / 0.6145 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.523, allocations: 319.4 kB / 0.6148 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.523, allocations: 92.92 kB / 0.6149 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.5231, allocations: 0 / 0.6149 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.5233, allocations: 7.984 kB / 0.6149 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.5234, allocations: 23.97 kB / 0.6149 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.5234, allocations: 15.94 kB / 0.6149 GB, free: 2.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.5235, allocations: 135.9 kB / 0.615 GB, free: 2.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5235, allocations: 0 / 0.615 GB, free: 2.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004022/0.5239, allocations: 63.92 kB / 0.6151 GB, free: 2.609 MB / 426.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 (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.001186/0.5251, allocations: 0.9152 MB / 0.616 GB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.526, allocations: 231.6 kB / 0.6162 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.526, allocations: 0 / 0.6162 GB, free: 1.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.5264, allocations: 132.2 kB / 0.6163 GB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.5267, allocations: 8 kB / 0.6163 GB, free: 1.301 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.5293, allocations: 2.257 MB / 0.6185 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.5297, allocations: 0.7397 MB / 0.6193 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.53, allocations: 69.44 kB / 0.6193 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.5301, allocations: 55.39 kB / 0.6194 GB, free: 14.09 MB / 442.7 MB Notification: Performance of SimCode: time 9.618e-06/0.5301, allocations: 0 / 0.6194 GB, free: 14.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.5471, allocations: 4.676 MB / 0.624 GB, free: 9.676 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.5474, allocations: 262.5 kB / 0.6242 GB, free: 9.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.35, allocations: 2.656 kB / 0.6242 GB, free: 9.32 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat