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_suddenChange_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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001135/0.001135, allocations: 96.28 kB / 15.69 MB, free: 480 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.001174/0.001174, allocations: 177.2 kB / 16.57 MB, free: 6.852 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.854/1.854, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.4136/0.4136, allocations: 43.55 MB / 314.5 MB, free: 9.098 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.0005485/0.0005487, allocations: 16 kB / 384 MB, free: 8.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1405, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002123/0.1426, allocations: 1.459 MB / 444.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1445, allocations: 1.214 MB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.1446, allocations: 7.938 kB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.1448, allocations: 35.81 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.1449, allocations: 47.84 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.1454, allocations: 207.5 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1455, allocations: 71.81 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.1456, allocations: 9.109 kB / 445.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1457, allocations: 47.78 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.1458, allocations: 51.75 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.1458, allocations: 4 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007178/0.1466, allocations: 487.2 kB / 446.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.1466, allocations: 23.91 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1466, allocations: 37.7 kB / 446.6 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.147, allocations: 219.8 kB / 446.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.147, allocations: 3.938 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.147, allocations: 0 / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.147, allocations: 0 / 446.8 MB, free: 9.238 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005592/0.1476, allocations: 423 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1476, allocations: 8.031 kB / 447.2 MB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.1477, allocations: 46.56 kB / 447.2 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1478, allocations: 23.75 kB / 447.3 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1479, allocations: 174.9 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1479, allocations: 8 kB / 447.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.148, allocations: 12 kB / 447.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1483, allocations: 146.4 kB / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1483, allocations: 0 / 447.6 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1483, allocations: 8 kB / 447.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1483, allocations: 7.938 kB / 447.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.1487, allocations: 143.9 kB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.1496, allocations: 0.5222 MB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1498, allocations: 110.6 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1499, allocations: 4 kB / 448.4 MB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1499, allocations: 30.78 kB / 448.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.796e-06/0.1499, allocations: 7.922 kB / 448.4 MB, free: 7.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005038/0.1504, allocations: 177.5 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1505, allocations: 55.41 kB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1506, allocations: 118 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1506, allocations: 25.7 kB / 448.8 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1507, allocations: 115.7 kB / 448.9 MB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/0.1507, allocations: 39.39 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.1508, allocations: 8 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1509, allocations: 322.8 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.151, allocations: 39.97 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1512, allocations: 89.11 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1513, allocations: 51.92 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1513, allocations: 3.938 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003313/0.1517, allocations: 169.9 kB / 449.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1517, allocations: 4 kB / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1517, allocations: 0 / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1517, allocations: 8.156 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.152, allocations: 51.95 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/0.1524, allocations: 0.5937 MB / 450.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.1525, allocations: 15.92 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1525, allocations: 4.094 kB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1527, allocations: 125.8 kB / 450.4 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1527, allocations: 7.906 kB / 450.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.1532, allocations: 190.1 kB / 450.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1532, allocations: 3.938 kB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1532, allocations: 0 / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1532, allocations: 3.984 kB / 450.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1535, allocations: 213.5 kB / 450.8 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1535, allocations: 4 kB / 450.8 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1537, allocations: 43.97 kB / 450.9 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1537, allocations: 0 / 450.9 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1537, allocations: 4 kB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004159/0.1542, allocations: 0.5937 MB / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1542, allocations: 0 / 451.5 MB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.1547, allocations: 311.5 kB / 451.8 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.1548, allocations: 97.05 kB / 451.9 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1549, allocations: 8 kB / 451.9 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.155, allocations: 7.984 kB / 451.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.1551, allocations: 15.98 kB / 451.9 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1551, allocations: 4 kB / 451.9 MB, free: 3.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.09e-05/0.1551, allocations: 91.2 kB / 452 MB, free: 3.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1551, allocations: 0 / 452 MB, free: 3.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.1556, allocations: 83.77 kB / 452.1 MB, free: 3.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1567, allocations: 0.8998 MB / 453 MB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.1572, allocations: 135.9 kB / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1572, allocations: 0 / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1574, allocations: 80.2 kB / 453.2 MB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.1577, allocations: 11.92 kB / 453.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.1596, allocations: 1.56 MB / 454.8 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1599, allocations: 0.7082 MB / 455.5 MB, free: 24 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.2125/0.3724, allocations: 25.95 kB / 455.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3725, allocations: 36.7 kB / 455.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3725, allocations: 0 / 455.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.3884, allocations: 3.367 MB / 458.9 MB, free: 45.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.3888, allocations: 266.6 kB / 459.2 MB, free: 44.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.285, allocations: 0 / 459.2 MB, free: 44.96 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat