Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001487/0.001487, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009116/0.0009115, allocations: 98.59 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 45.16 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.709e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1213, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/0.6557, allocations: 94.37 MB / 0.5966 GB, free: 7.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.656, allocations: 101.8 kB / 0.5967 GB, free: 7.762 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03129/0.6873, allocations: 10.55 MB / 0.607 GB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6873, allocations: 0 / 0.607 GB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.6874, allocations: 11.94 kB / 0.607 GB, free: 14.64 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0008144/0.6882, allocations: 0.6559 MB / 0.6077 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6882, allocations: 16.03 kB / 0.6077 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.6883, allocations: 51.34 kB / 0.6078 GB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.6888, allocations: 321.9 kB / 0.6081 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6888, allocations: 16 kB / 0.6081 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.6889, allocations: 24 kB / 0.6081 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007645/0.6897, allocations: 0.6333 MB / 0.6087 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.6904, allocations: 0.5822 MB / 0.6093 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6905, allocations: 7.891 kB / 0.6093 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.6905, allocations: 7.984 kB / 0.6093 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/0.6906, allocations: 48.8 kB / 0.6093 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6927, allocations: 1.569 MB / 0.6109 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.6932, allocations: 334.9 kB / 0.6112 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.6934, allocations: 118.6 kB / 0.6113 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.6935, allocations: 11.47 kB / 0.6113 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6935, allocations: 38.48 kB / 0.6114 GB, free: 10.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.6935, allocations: 0 / 0.6114 GB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.000561/0.6941, allocations: 312.7 kB / 0.6117 GB, free: 10.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.6941, allocations: 59.36 kB / 0.6117 GB, free: 10.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.6944, allocations: 209.3 kB / 0.6119 GB, free: 10.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.6944, allocations: 25.7 kB / 0.6119 GB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.6946, allocations: 279.5 kB / 0.6122 GB, free: 9.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.6946, allocations: 89.78 kB / 0.6123 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.6946, allocations: 0 / 0.6123 GB, free: 9.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6948, allocations: 334 kB / 0.6126 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.695, allocations: 121 kB / 0.6127 GB, free: 9.355 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.6952, allocations: 222 kB / 0.6129 GB, free: 9.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.6954, allocations: 165 kB / 0.6131 GB, free: 8.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6954, allocations: 0 / 0.6131 GB, free: 8.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000553/0.696, allocations: 398.2 kB / 0.6135 GB, free: 8.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.696, allocations: 8 kB / 0.6135 GB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.696, allocations: 7.984 kB / 0.6135 GB, free: 8.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6961, allocations: 4 kB / 0.6135 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.6967, allocations: 163.9 kB / 0.6136 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.6985, allocations: 3.624 MB / 0.6172 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.6988, allocations: 36.03 kB / 0.6172 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6988, allocations: 27.55 kB / 0.6172 GB, free: 4.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6989, allocations: 116 kB / 0.6174 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004497/0.6994, allocations: 312.5 kB / 0.6177 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.6995, allocations: 27.66 kB / 0.6177 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/0.7003, allocations: 494.2 kB / 0.6182 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.7004, allocations: 7.953 kB / 0.6182 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7004, allocations: 0 / 0.6182 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7004, allocations: 0 / 0.6182 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.7009, allocations: 381 kB / 0.6185 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7009, allocations: 0 / 0.6185 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.7014, allocations: 134.3 kB / 0.6187 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7014, allocations: 0 / 0.6187 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.7015, allocations: 15.98 kB / 0.6187 GB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.7032, allocations: 3.614 MB / 0.6222 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7033, allocations: 8.047 kB / 0.6222 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.704, allocations: 0.5786 MB / 0.6228 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.7041, allocations: 165.4 kB / 0.6229 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.7042, allocations: 0 / 0.6229 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.7044, allocations: 7.938 kB / 0.6229 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.7044, allocations: 35.84 kB / 0.623 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.7045, allocations: 11.19 kB / 0.623 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.7046, allocations: 176 kB / 0.6231 GB, free: 14.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7047, allocations: 0 / 0.6231 GB, free: 14.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006397/0.7053, allocations: 182 kB / 0.6233 GB, free: 14.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.7066, allocations: 1.228 MB / 0.6245 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008414/0.7074, allocations: 373.4 kB / 0.6249 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7074, allocations: 0 / 0.6249 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.708, allocations: 214 kB / 0.6251 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.7082, allocations: 13.08 kB / 0.6251 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.7096, allocations: 0.8238 MB / 0.6259 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.7101, allocations: 0.9188 MB / 0.6268 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003309/0.7104, allocations: 115 kB / 0.6269 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.7106, allocations: 166.9 kB / 0.6271 GB, free: 10.97 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7106, allocations: 0 / 0.6271 GB, free: 10.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.7374, allocations: 8.016 MB / 0.6349 GB, free: 2.988 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.7377, allocations: 196.8 kB / 0.6351 GB, free: 2.727 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.861, allocations: 3.938 kB / 0.6351 GB, free: 2.723 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat