Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 97.95 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 204.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.000296, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1379, allocations: 63.47 MB / 481.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002776/0.1407, allocations: 1.797 MB / 483.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004837/0.1456, allocations: 2.917 MB / 486.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.1459, allocations: 3.938 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.1464, allocations: 83.61 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.1469, allocations: 119.6 kB / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1488, allocations: 0.7678 MB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.1493, allocations: 415 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1495, allocations: 81.73 kB / 487.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.1498, allocations: 199 kB / 487.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1501, allocations: 242.9 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.1501, allocations: 16 kB / 488.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.1527, allocations: 1.946 MB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1528, allocations: 127.5 kB / 490.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.153, allocations: 117.3 kB / 490.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.1545, allocations: 1.014 MB / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1545, allocations: 0 / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1545, allocations: 0 / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1545, allocations: 4 kB / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001516/0.156, allocations: 0.913 MB / 492.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1561, allocations: 8.031 kB / 492.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001588/0.1562, allocations: 151.9 kB / 492.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1564, allocations: 79.02 kB / 492.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.1569, allocations: 353.9 kB / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.157, allocations: 53.98 kB / 492.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1571, allocations: 76 kB / 493 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1587, allocations: 1.214 MB / 494.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1587, allocations: 3.984 kB / 494.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.1588, allocations: 31.98 kB / 494.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.222e-05/0.1589, allocations: 85.89 kB / 494.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.1613, allocations: 1.726 MB / 496 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.1655, allocations: 2.978 MB / 499 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.1663, allocations: 427.2 kB / 499.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.1663, allocations: 8.266 kB / 499.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1664, allocations: 42.78 kB / 499.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.983e-06/0.1664, allocations: 0 / 499.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009275/0.1673, allocations: 495.8 kB / 500 MB, free: 2.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1674, allocations: 59.36 kB / 0.4883 GB, free: 2.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.1675, allocations: 206.9 kB / 0.4885 GB, free: 2.211 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.1676, allocations: 37.7 kB / 0.4885 GB, free: 2.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1678, allocations: 386.2 kB / 0.4889 GB, free: 1.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1679, allocations: 118.3 kB / 0.489 GB, free: 1.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.1679, allocations: 8 kB / 0.489 GB, free: 1.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.168, allocations: 334.8 kB / 0.4894 GB, free: 1.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1683, allocations: 149 kB / 0.4895 GB, free: 1.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.1686, allocations: 346.3 kB / 0.4898 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.169, allocations: 219.7 kB / 0.49 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.169, allocations: 0 / 0.49 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008567/0.1699, allocations: 0.5485 MB / 0.4906 GB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1699, allocations: 8 kB / 0.4906 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1699, allocations: 4.844 kB / 0.4906 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1699, allocations: 12 kB / 0.4906 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.1706, allocations: 215.7 kB / 0.4908 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.172, allocations: 2.996 MB / 0.4937 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.1723, allocations: 59.8 kB / 0.4938 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.1724, allocations: 31.98 kB / 0.4938 GB, free: 12.54 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003471/0.1728, allocations: 273.5 kB / 0.4941 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.1728, allocations: 23.72 kB / 0.4941 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.1741, allocations: 0.5813 MB / 0.4947 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1741, allocations: 8 kB / 0.4947 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1741, allocations: 0 / 0.4947 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1741, allocations: 3.984 kB / 0.4947 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1758, allocations: 1.184 MB / 0.4958 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1758, allocations: 4 kB / 0.4958 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.1764, allocations: 176.1 kB / 0.496 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.1764, allocations: 11.98 kB / 0.496 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1765, allocations: 16 kB / 0.496 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.1779, allocations: 2.961 MB / 0.4989 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1779, allocations: 4.031 kB / 0.4989 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.1787, allocations: 0.5989 MB / 0.4995 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1787, allocations: 104.8 kB / 0.4996 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.1788, allocations: 8 kB / 0.4996 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.179, allocations: 19.94 kB / 0.4996 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.104e-05/0.1791, allocations: 39.95 kB / 0.4997 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.1791, allocations: 20 kB / 0.4997 GB, free: 6.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.317e-05/0.1792, allocations: 131.2 kB / 0.4998 GB, free: 6.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1792, allocations: 0 / 0.4998 GB, free: 6.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001024/0.1802, allocations: 358.7 kB / 0.5002 GB, free: 5.719 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.1821, allocations: 1.938 MB / 0.5021 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1832, allocations: 488.9 kB / 0.5025 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1832, allocations: 0 / 0.5025 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.1838, allocations: 263.8 kB / 0.5028 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1841, allocations: 24.19 kB / 0.5028 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2264/0.4105, allocations: 6.917 MB / 0.5095 GB, free: 33.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.4112, allocations: 0.9963 MB / 0.5105 GB, free: 32.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.4118, allocations: 171.8 kB / 0.5107 GB, free: 32.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4121, allocations: 207 kB / 0.5109 GB, free: 32.34 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4121, allocations: 0 / 0.5109 GB, free: 32.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.4432, allocations: 11.87 MB / 0.5225 GB, free: 29.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.4434, allocations: 271.1 kB / 0.5227 GB, free: 29.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.503, allocations: 3.609 kB / 0.5227 GB, free: 29.53 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat