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.0009589/0.0009588, allocations: 96.78 kB / 15.7 MB, free: 468 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.0009121/0.0009121, allocations: 168.9 kB / 16.58 MB, free: 5.652 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.438/1.438, allocations: 205.4 MB / 222.8 MB, free: 5.605 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.3986/0.3986, allocations: 43.54 MB / 314.6 MB, free: 8.781 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.0005892/0.0005894, allocations: 12 kB / 384 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1451, allocations: 58.85 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002281/0.1475, allocations: 1.505 MB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1499, allocations: 1.268 MB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1501, allocations: 3.938 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1504, allocations: 51.73 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.1507, allocations: 87.58 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.1514, allocations: 175.4 kB / 446 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.1519, allocations: 421.8 kB / 446.4 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.152, allocations: 52.98 kB / 446.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1524, allocations: 143.2 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.1528, allocations: 183.2 kB / 446.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.1528, allocations: 8 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.1536, allocations: 435 kB / 447.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1538, allocations: 127.5 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.154, allocations: 97.39 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006161/0.1546, allocations: 414.9 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1546, allocations: 4 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1546, allocations: 0 / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1546, allocations: 0 / 447.8 MB, free: 7.973 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.001224/0.1559, allocations: 0.7055 MB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1559, allocations: 12.03 kB / 448.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.1561, allocations: 98.45 kB / 448.6 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1562, allocations: 51.34 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1566, allocations: 314.3 kB / 449 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.1567, allocations: 33 kB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.1567, allocations: 43.94 kB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1578, allocations: 0.7031 MB / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1578, allocations: 0 / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.1578, allocations: 23.94 kB / 449.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.973e-05/0.1579, allocations: 61.27 kB / 449.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.159, allocations: 0.7234 MB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.1614, allocations: 1.704 MB / 452.3 MB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.1621, allocations: 355.5 kB / 452.6 MB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.1623, allocations: 145.2 kB / 452.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.1624, allocations: 16.22 kB / 452.8 MB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1624, allocations: 34.73 kB / 452.8 MB, free: 2.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.1625, allocations: 4 kB / 452.8 MB, free: 2.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001021/0.1635, allocations: 0.4948 MB / 453.3 MB, free: 2.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.1635, allocations: 59.41 kB / 453.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.1641, allocations: 449.6 kB / 453.8 MB, free: 1.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1641, allocations: 29.7 kB / 453.8 MB, free: 1.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.1644, allocations: 267.5 kB / 454.1 MB, free: 1.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.1645, allocations: 94.64 kB / 454.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.1645, allocations: 7.938 kB / 454.2 MB, free: 1.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1647, allocations: 350.8 kB / 454.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.1649, allocations: 151.9 kB / 454.7 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1653, allocations: 257.3 kB / 454.9 MB, free: 500 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.1656, allocations: 184.7 kB / 455.1 MB, free: 316 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1657, allocations: 0 / 455.1 MB, free: 316 kB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.2705/0.4362, allocations: 484.2 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.4363, allocations: 6.844 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4363, allocations: 6.375 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.4364, allocations: 10.31 kB / 455.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.437, allocations: 165.5 kB / 455.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.4385, allocations: 3.605 MB / 459.4 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.4388, allocations: 63.94 kB / 459.5 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.4389, allocations: 24.19 kB / 459.5 MB, free: 42.47 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.0002577/0.4391, allocations: 222.5 kB / 459.7 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.4392, allocations: 37.59 kB / 459.7 MB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4402, allocations: 0.548 MB / 460.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4402, allocations: 3.25 kB / 460.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4402, allocations: 4.5 kB / 460.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4403, allocations: 3.062 kB / 460.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.4408, allocations: 454.4 kB / 460.7 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4408, allocations: 3.469 kB / 460.7 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.4413, allocations: 143.1 kB / 460.9 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.4413, allocations: 0 / 460.9 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.4413, allocations: 19.25 kB / 460.9 MB, free: 42.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.4425, allocations: 3.604 MB / 464.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4425, allocations: 0 / 464.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.4434, allocations: 0.6724 MB / 465.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.4436, allocations: 158.4 kB / 465.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.4437, allocations: 10.67 kB / 465.3 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.4438, allocations: 17.14 kB / 465.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/0.4439, allocations: 35.97 kB / 465.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.444, allocations: 13.34 kB / 465.4 MB, free: 38.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.4443, allocations: 343.3 kB / 465.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4443, allocations: 0 / 465.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005788/0.4449, allocations: 166 kB / 465.9 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.001369/0.4463, allocations: 1.287 MB / 467.2 MB, free: 37.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000881/0.4472, allocations: 456.1 kB / 467.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4472, allocations: 0 / 467.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005313/0.4477, allocations: 259.2 kB / 467.9 MB, free: 37.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4481, allocations: 39.8 kB / 467.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.4521, allocations: 3.049 MB / 471 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.4524, allocations: 0.9003 MB / 471.9 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003432/0.4528, allocations: 148.2 kB / 472 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.453, allocations: 165.2 kB / 472.2 MB, free: 35.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.453, allocations: 0 / 472.2 MB, free: 35.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.4767, allocations: 10.28 MB / 482.5 MB, free: 34.88 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.477, allocations: 272.1 kB / 482.7 MB, free: 34.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.588, allocations: 0 / 482.7 MB, free: 34.52 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