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.0009983/0.0009984, allocations: 197.2 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.347/1.347, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009227/0.0009228, allocations: 90.22 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.284e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 63.25 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4746, allocations: 95.04 MB / 0.6043 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4749, allocations: 98.67 kB / 0.6044 GB, free: 14.73 MB / 410.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.0311/0.506, allocations: 10.67 MB / 0.6148 GB, free: 5.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5061, allocations: 0 / 0.6148 GB, free: 5.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5061, allocations: 8 kB / 0.6148 GB, free: 5.344 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.000785/0.5069, allocations: 0.6584 MB / 0.6155 GB, free: 4.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5069, allocations: 19.95 kB / 0.6155 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.507, allocations: 97.39 kB / 0.6156 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.5071, allocations: 55.28 kB / 0.6156 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.5076, allocations: 312.7 kB / 0.6159 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.5076, allocations: 43.42 kB / 0.616 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/0.5077, allocations: 46.73 kB / 0.616 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.5085, allocations: 0.6493 MB / 0.6166 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5085, allocations: 0 / 0.6166 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.5086, allocations: 21.83 kB / 0.6167 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.03e-05/0.5086, allocations: 49.28 kB / 0.6167 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.5095, allocations: 0.6897 MB / 0.6174 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.5118, allocations: 1.735 MB / 0.6191 GB, free: 1.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.5123, allocations: 345.3 kB / 0.6194 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.5125, allocations: 130 kB / 0.6195 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.5126, allocations: 15.28 kB / 0.6195 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.5126, allocations: 30.8 kB / 0.6196 GB, free: 1.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.804e-06/0.5126, allocations: 4 kB / 0.6196 GB, free: 1.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006254/0.5133, allocations: 342.7 kB / 0.6199 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.5133, allocations: 55.41 kB / 0.62 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.5138, allocations: 404 kB / 0.6203 GB, free: 340 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.5138, allocations: 33.2 kB / 0.6204 GB, free: 304 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.514, allocations: 266.9 kB / 0.6206 GB, free: 96 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.514, allocations: 92.58 kB / 0.6207 GB, free: 12 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.5141, allocations: 7 kB / 0.6207 GB, free: 12 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5143, allocations: 348.8 kB / 0.6211 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5144, allocations: 129.1 kB / 0.6212 GB, free: 15.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.5147, allocations: 237.3 kB / 0.6214 GB, free: 15.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.5149, allocations: 170.9 kB / 0.6216 GB, free: 15.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.515, allocations: 4 kB / 0.6216 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006614/0.5156, allocations: 438.7 kB / 0.622 GB, free: 14.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5157, allocations: 8.469 kB / 0.622 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5157, allocations: 8 kB / 0.622 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5157, allocations: 4 kB / 0.622 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.5163, allocations: 163.7 kB / 0.6222 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.5181, allocations: 3.609 MB / 0.6257 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.5184, allocations: 61.88 kB / 0.6258 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.5184, allocations: 23.67 kB / 0.6258 GB, free: 10.84 MB / 426.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.0001015/0.5185, allocations: 127.5 kB / 0.6259 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.5186, allocations: 42.78 kB / 0.6259 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/0.5195, allocations: 0.5116 MB / 0.6264 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5196, allocations: 7.953 kB / 0.6264 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5196, allocations: 0 / 0.6264 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5196, allocations: 0 / 0.6264 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.5201, allocations: 449 kB / 0.6269 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5201, allocations: 0 / 0.6269 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.5207, allocations: 143.8 kB / 0.627 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5207, allocations: 0 / 0.627 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.5207, allocations: 9.75 kB / 0.627 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.5224, allocations: 3.606 MB / 0.6305 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5224, allocations: 7.875 kB / 0.6306 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.5231, allocations: 0.6183 MB / 0.6312 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.5234, allocations: 183.7 kB / 0.6313 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.5234, allocations: 3 kB / 0.6313 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5236, allocations: 20.7 kB / 0.6314 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5237, allocations: 30.48 kB / 0.6314 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.5238, allocations: 12 kB / 0.6314 GB, free: 5.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000314/0.5241, allocations: 340.8 kB / 0.6317 GB, free: 4.895 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5241, allocations: 0 / 0.6317 GB, free: 4.895 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005265/0.5246, allocations: 174.6 kB / 0.6319 GB, free: 4.734 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.00122/0.5258, allocations: 1.268 MB / 0.6331 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008346/0.5267, allocations: 393.4 kB / 0.6335 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5267, allocations: 4 kB / 0.6335 GB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.5273, allocations: 225.1 kB / 0.6337 GB, free: 3.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5275, allocations: 32.2 kB / 0.6337 GB, free: 3.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.529, allocations: 0.8842 MB / 0.6346 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.5294, allocations: 0.911 MB / 0.6355 GB, free: 1.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003521/0.5298, allocations: 139 kB / 0.6356 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.53, allocations: 171.5 kB / 0.6358 GB, free: 1.023 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.53, allocations: 0 / 0.6358 GB, free: 1.023 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.5533, allocations: 10.53 MB / 0.6461 GB, free: 6.738 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.5536, allocations: 239.8 kB / 0.6463 GB, free: 6.422 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.68, allocations: 0 / 0.6463 GB, free: 6.422 MB / 442.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