Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006982/0.0006983, allocations: 92.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000729/0.0007291, allocations: 180.1 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3709/0.3709, allocations: 43.55 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.0005596, allocations: 16 kB / 384.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002097/0.1462, allocations: 1.341 MB / 444.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.148, allocations: 0.8392 MB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.1481, allocations: 4 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.1483, allocations: 27.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1486, allocations: 43.75 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.1492, allocations: 107.7 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1495, allocations: 163.3 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.1496, allocations: 25.34 kB / 445.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.1497, allocations: 47.8 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1499, allocations: 71.69 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1499, allocations: 4 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.1504, allocations: 199.6 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.1505, allocations: 39.83 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.1505, allocations: 45.64 kB / 445.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1509, allocations: 163.6 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1509, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.151, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.151, allocations: 0 / 446 MB, free: 9.793 MB / 382.1 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.0008717/0.1518, allocations: 458.7 kB / 446.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1519, allocations: 12.03 kB / 446.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.302e-05/0.152, allocations: 50.48 kB / 446.5 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.1531, allocations: 119.6 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.1534, allocations: 218.8 kB / 446.9 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1535, allocations: 8 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.1535, allocations: 16 kB / 446.9 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007165/0.1542, allocations: 325.3 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1543, allocations: 0 / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1543, allocations: 11.95 kB / 447.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.1544, allocations: 19.98 kB / 447.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007845/0.1551, allocations: 335.6 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.1568, allocations: 0.8298 MB / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007267/0.1576, allocations: 226.2 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.1579, allocations: 92.81 kB / 448.7 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1579, allocations: 7.984 kB / 448.7 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.158, allocations: 34.59 kB / 448.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.158, allocations: 0 / 448.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009868/0.159, allocations: 305.2 kB / 449 MB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.159, allocations: 55.41 kB / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1592, allocations: 183.3 kB / 449.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1592, allocations: 25.7 kB / 449.3 MB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.1594, allocations: 143.4 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1594, allocations: 39.39 kB / 449.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.1594, allocations: 8 kB / 449.5 MB, free: 6.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1596, allocations: 326.8 kB / 449.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.1599, allocations: 87.91 kB / 449.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.1602, allocations: 142.8 kB / 450 MB, free: 5.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.1605, allocations: 99.84 kB / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1605, allocations: 0 / 450.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000718/0.1612, allocations: 281.4 kB / 450.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1612, allocations: 8.469 kB / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1613, allocations: 0 / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1613, allocations: 4 kB / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.1617, allocations: 83.86 kB / 450.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.1628, allocations: 1.785 MB / 452.3 MB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.163, allocations: 31.72 kB / 452.3 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.1631, allocations: 19.92 kB / 452.3 MB, free: 3.117 MB / 382.1 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.0001883/0.1633, allocations: 149.9 kB / 452.5 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.1633, allocations: 11.91 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007711/0.1641, allocations: 270.7 kB / 452.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1641, allocations: 4 kB / 452.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1641, allocations: 0 / 452.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1641, allocations: 3.984 kB / 452.8 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.1645, allocations: 265.3 kB / 453 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1645, allocations: 0 / 453 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1648, allocations: 71.92 kB / 453.1 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.1649, allocations: 4 kB / 453.1 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1649, allocations: 11.98 kB / 453.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009621/0.1659, allocations: 1.782 MB / 454.9 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1659, allocations: 0 / 454.9 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.1666, allocations: 327.3 kB / 455.2 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2738/0.4404, allocations: 88.92 kB / 455.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.4405, allocations: 0.5625 kB / 455.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.4408, allocations: 11.8 kB / 455.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.4409, allocations: 13.31 kB / 455.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.441, allocations: 13.92 kB / 455.3 MB, free: 46.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.4411, allocations: 138.1 kB / 455.5 MB, free: 46.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4411, allocations: 1.594 kB / 455.5 MB, free: 46.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.4416, allocations: 66.39 kB / 455.5 MB, free: 46.75 MB / 382.1 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.001005/0.4426, allocations: 0.8756 MB / 456.4 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007545/0.4434, allocations: 254.4 kB / 456.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4434, allocations: 0 / 456.7 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.4438, allocations: 134.2 kB / 456.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.4441, allocations: 12.66 kB / 456.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.4461, allocations: 1.206 MB / 458 MB, free: 45.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.4463, allocations: 0.7443 MB / 458.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.4465, allocations: 70.73 kB / 458.8 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4466, allocations: 59.59 kB / 458.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4466, allocations: 0 / 458.9 MB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.4913, allocations: 4.375 MB / 463.3 MB, free: 44.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.4916, allocations: 270.4 kB / 463.5 MB, free: 44.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.314, allocations: 0 / 463.5 MB, free: 44.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat