Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001681, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 101.5 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5421/0.5421, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 12 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002412/0.1315, allocations: 1.341 MB / 491.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1332, allocations: 0.7571 MB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.1333, allocations: 0 / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1336, allocations: 35.81 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.1337, allocations: 43.86 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1341, allocations: 67.83 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1343, allocations: 99.77 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.1344, allocations: 21.09 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1346, allocations: 47.8 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1347, allocations: 55.75 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1347, allocations: 7.938 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004198/0.1352, allocations: 151.8 kB / 493 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.1352, allocations: 27.91 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.1353, allocations: 49.64 kB / 493 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.1356, allocations: 136 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1357, allocations: 0 / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1357, allocations: 3.938 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1357, allocations: 0 / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000708/0.1364, allocations: 450.7 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1365, allocations: 8.031 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.1365, allocations: 54.48 kB / 493.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007426/0.1373, allocations: 63.73 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1376, allocations: 206.9 kB / 493.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1376, allocations: 11.98 kB / 493.9 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.1377, allocations: 12 kB / 494 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.1384, allocations: 233.5 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1384, allocations: 0 / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.1385, allocations: 15.94 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/0.1385, allocations: 23.77 kB / 494.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.1393, allocations: 235.8 kB / 494.5 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.1409, allocations: 0.7248 MB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.1413, allocations: 94.5 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1413, allocations: 0 / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1414, allocations: 34.56 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.1414, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008398/0.1422, allocations: 189.5 kB / 495.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1423, allocations: 55.39 kB / 495.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.1425, allocations: 188.7 kB / 495.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1426, allocations: 25.7 kB / 495.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1427, allocations: 198 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1428, allocations: 27.64 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.1428, allocations: 0 / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1429, allocations: 322.8 kB / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.1432, allocations: 51.95 kB / 496.3 MB, free: 4.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.1435, allocations: 110.8 kB / 496.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1437, allocations: 63.89 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1438, allocations: 0 / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006459/0.1444, allocations: 189.3 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1445, allocations: 8 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1445, allocations: 4.156 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1445, allocations: 8 kB / 496.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.1461, allocations: 111.8 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.1477, allocations: 1.805 MB / 498.6 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.148, allocations: 35.95 kB / 498.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.148, allocations: 8 kB / 498.7 MB, free: 2.398 MB / 378.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 (14): * Single equations (assignments): 11 * 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.0001849/0.1482, allocations: 145.7 kB / 498.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.1482, allocations: 11.84 kB / 498.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.149, allocations: 179 kB / 499 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.149, allocations: 0 / 499 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.149, allocations: 7.938 kB / 499 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.149, allocations: 4 kB / 499 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1494, allocations: 233.5 kB / 499.2 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.1495, allocations: 4 kB / 499.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.1508, allocations: 87.89 kB / 499.3 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.1508, allocations: 4 kB / 499.3 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1508, allocations: 7.938 kB / 499.3 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.307/0.4578, allocations: 1.776 MB / 0.4894 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4579, allocations: 0 / 0.4894 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.4586, allocations: 248.7 kB / 0.4896 GB, free: 43.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4586, allocations: 96.94 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.4587, allocations: 1 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.4589, allocations: 11.78 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.459, allocations: 8.5 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.459, allocations: 0.8125 kB / 0.4897 GB, free: 42.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.4592, allocations: 143.8 kB / 0.4899 GB, free: 42.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4593, allocations: 0 / 0.4899 GB, free: 42.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000456/0.4597, allocations: 45.58 kB / 0.4899 GB, free: 42.88 MB / 378.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 (11): * Single equations (assignments): 8 * 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.000964/0.4607, allocations: 0.8018 MB / 0.4907 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.4628, allocations: 229.4 kB / 0.4909 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4629, allocations: 0 / 0.4909 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4641, allocations: 113.4 kB / 0.491 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.4646, allocations: 38.22 kB / 0.4911 GB, free: 42.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4675, allocations: 2.129 MB / 0.4931 GB, free: 40.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.4678, allocations: 0.7441 MB / 0.4939 GB, free: 39.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.468, allocations: 44.92 kB / 0.4939 GB, free: 39.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.794e-06/0.468, allocations: 0 / 0.4939 GB, free: 39.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.866/3.334, allocations: 5.08 MB / 0.4989 GB, free: 39.79 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat