Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001486, allocations: 95.89 kB / 15.68 MB, free: 488 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.001359/0.001359, allocations: 175.7 kB / 16.56 MB, free: 6.379 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.788/1.788, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4657/0.4657, allocations: 43.54 MB / 314.5 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.0009354/0.0009356, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1473, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002074/0.1494, allocations: 1.467 MB / 444.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1512, allocations: 1.226 MB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.1513, allocations: 0 / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1516, allocations: 51.73 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1518, allocations: 75.8 kB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1522, allocations: 183.5 kB / 445.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.1525, allocations: 283.3 kB / 446.2 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.1526, allocations: 52.98 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1528, allocations: 135.4 kB / 446.3 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.153, allocations: 147.4 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.153, allocations: 15.98 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006443/0.1537, allocations: 451.2 kB / 446.9 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1539, allocations: 123.6 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.1539, allocations: 93.39 kB / 447.1 MB, free: 8.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.1544, allocations: 403.1 kB / 447.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1544, allocations: 4 kB / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1545, allocations: 0 / 447.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1545, allocations: 0 / 447.5 MB, free: 8.254 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001021/0.1555, allocations: 0.7016 MB / 448.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1555, allocations: 12.03 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.1557, allocations: 106.5 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.1557, allocations: 51.34 kB / 448.4 MB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1562, allocations: 310.3 kB / 448.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1562, allocations: 32.98 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1563, allocations: 43.98 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009323/0.1572, allocations: 0.6953 MB / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1572, allocations: 0 / 449.5 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.1573, allocations: 27.89 kB / 449.5 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.155e-05/0.1574, allocations: 57.28 kB / 449.6 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1584, allocations: 0.7312 MB / 450.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.1608, allocations: 1.731 MB / 452 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.1614, allocations: 367.3 kB / 452.4 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.1615, allocations: 16.2 kB / 452.4 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1615, allocations: 34.8 kB / 452.4 MB, free: 3.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.373e-06/0.1615, allocations: 0 / 452.4 MB, free: 3.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009521/0.1625, allocations: 0.4914 MB / 452.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.1625, allocations: 59.41 kB / 453 MB, free: 2.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.163, allocations: 445.6 kB / 453.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.163, allocations: 33.7 kB / 453.5 MB, free: 2.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1632, allocations: 263.5 kB / 453.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.1633, allocations: 94.64 kB / 453.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.1633, allocations: 12 kB / 453.8 MB, free: 1.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1635, allocations: 350.8 kB / 454.2 MB, free: 1.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.1638, allocations: 143.8 kB / 454.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1641, allocations: 257.4 kB / 454.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.1645, allocations: 192.7 kB / 454.7 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1645, allocations: 0 / 454.7 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007891/0.1653, allocations: 488.6 kB / 455.2 MB, free: 224 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1653, allocations: 8 kB / 455.2 MB, free: 216 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1653, allocations: 4 kB / 455.2 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1653, allocations: 4 kB / 455.2 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.1659, allocations: 159.8 kB / 455.4 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2058/0.3717, allocations: 3.613 MB / 459 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.3722, allocations: 62.69 kB / 459.1 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.3722, allocations: 19.47 kB / 459.1 MB, free: 42.48 MB / 382.1 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 () * Number of clocked 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.0002404/0.3725, allocations: 225.2 kB / 459.3 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.3726, allocations: 32.56 kB / 459.3 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.3736, allocations: 0.5558 MB / 459.9 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3736, allocations: 2.75 kB / 459.9 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3736, allocations: 0 / 459.9 MB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3736, allocations: 9.984 kB / 459.9 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.3741, allocations: 454.7 kB / 460.3 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3742, allocations: 4.781 kB / 460.4 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.3747, allocations: 134.2 kB / 460.5 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3747, allocations: 0 / 460.5 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.3747, allocations: 12.86 kB / 460.5 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.3758, allocations: 3.608 MB / 464.1 MB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3758, allocations: 2.297 kB / 464.1 MB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009444/0.3768, allocations: 0.6715 MB / 464.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.377, allocations: 176.3 kB / 464.9 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.3771, allocations: 6.188 kB / 465 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3773, allocations: 16.41 kB / 465 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3774, allocations: 24.8 kB / 465 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3774, allocations: 18.58 kB / 465 MB, free: 38.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.3777, allocations: 339.7 kB / 465.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3777, allocations: 1.188 kB / 465.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.3783, allocations: 173.6 kB / 465.5 MB, free: 38.2 MB / 382.1 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 () * Number of clocked 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.001311/0.3796, allocations: 1.283 MB / 466.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.3805, allocations: 444 kB / 467.2 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3806, allocations: 8.062 kB / 467.2 MB, free: 37.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.3811, allocations: 261 kB / 467.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3814, allocations: 26.19 kB / 467.5 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.3855, allocations: 5.257 MB / 472.8 MB, free: 34.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3858, allocations: 0.9165 MB / 473.7 MB, free: 33.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003314/0.3861, allocations: 139.9 kB / 473.8 MB, free: 33.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.3864, allocations: 174.7 kB / 474 MB, free: 33.51 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3864, allocations: 0 / 474 MB, free: 33.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4084, allocations: 10.1 MB / 484.1 MB, free: 32.65 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.4086, allocations: 270.7 kB / 484.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.516, allocations: 0 / 484.4 MB, free: 32.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat