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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.0008679/0.000868, allocations: 97.09 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.001177/0.001177, allocations: 175.8 kB / 16.58 MB, free: 5.68 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.547/1.547, allocations: 205.4 MB / 222.7 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.3416/0.3416, allocations: 43.55 MB / 314.6 MB, free: 8.82 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.0004944/0.0004944, allocations: 20 kB / 384 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 58.85 MB / 442.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.001838/0.1056, allocations: 1.579 MB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1071, allocations: 1.057 MB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.1072, allocations: 4 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1074, allocations: 51.66 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1076, allocations: 71.59 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.108, allocations: 115.6 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.1083, allocations: 286.4 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.681e-05/0.1084, allocations: 44.64 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1086, allocations: 99.52 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1088, allocations: 119.3 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1088, allocations: 4 kB / 446.3 MB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.1093, allocations: 295.5 kB / 446.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.1093, allocations: 63.67 kB / 446.7 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.1094, allocations: 65.58 kB / 446.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.1098, allocations: 295.4 kB / 447 MB, free: 8.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1098, allocations: 3.938 kB / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1098, allocations: 0 / 447 MB, free: 8.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1098, allocations: 0 / 447 MB, free: 8.77 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006873/0.1105, allocations: 0.5306 MB / 447.6 MB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1106, allocations: 12.03 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.479e-05/0.1107, allocations: 78.53 kB / 447.6 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.1107, allocations: 31.62 kB / 447.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.111, allocations: 234.6 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.111, allocations: 25 kB / 447.9 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.111, allocations: 31.98 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/0.1117, allocations: 0.4896 MB / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1117, allocations: 0 / 448.4 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.1117, allocations: 15.95 kB / 448.5 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.1118, allocations: 24.98 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.1124, allocations: 439.6 kB / 448.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1137, allocations: 1.181 MB / 450.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1139, allocations: 90.52 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.114, allocations: 48.83 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.114, allocations: 0 / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.114, allocations: 34.56 kB / 450.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.1141, allocations: 4 kB / 450.3 MB, free: 5.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004211/0.1145, allocations: 181.2 kB / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1145, allocations: 51.41 kB / 450.5 MB, free: 5.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1147, allocations: 174.3 kB / 450.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1147, allocations: 25.7 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.1148, allocations: 219.5 kB / 450.9 MB, free: 4.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1148, allocations: 31.55 kB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.1148, allocations: 0 / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.1149, allocations: 330.8 kB / 451.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.115, allocations: 59.95 kB / 451.3 MB, free: 4.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.1152, allocations: 180.1 kB / 451.5 MB, free: 3.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1154, allocations: 79.89 kB / 451.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1154, allocations: 0 / 451.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000414/0.1158, allocations: 253.3 kB / 451.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1159, allocations: 11.98 kB / 451.8 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1159, allocations: 4 kB / 451.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1159, allocations: 11.95 kB / 451.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1162, allocations: 87.91 kB / 451.9 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000747/0.1169, allocations: 1.778 MB / 453.7 MB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1171, allocations: 40.02 kB / 453.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1171, allocations: 12 kB / 453.8 MB, free: 1.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001885/0.1173, allocations: 181.6 kB / 453.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.1173, allocations: 11.91 kB / 454 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.1178, allocations: 209.9 kB / 454.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1178, allocations: 11.89 kB / 454.2 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1178, allocations: 0 / 454.2 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1179, allocations: 0 / 454.2 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.1181, allocations: 289.5 kB / 454.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1181, allocations: 0 / 454.5 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.1183, allocations: 63.97 kB / 454.5 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1183, allocations: 4 kB / 454.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1184, allocations: 4 kB / 454.5 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.178/0.2963, allocations: 1.774 MB / 456.3 MB, free: 45.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2964, allocations: 0 / 456.3 MB, free: 45.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.2966, allocations: 232 kB / 456.5 MB, free: 45.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.2967, allocations: 92.19 kB / 456.6 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.2967, allocations: 4.031 kB / 456.6 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.2968, allocations: 12.7 kB / 456.6 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2969, allocations: 10.78 kB / 456.6 MB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.2969, allocations: 3.969 kB / 456.6 MB, free: 45.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.074e-05/0.2969, allocations: 118.5 kB / 456.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2969, allocations: 0 / 456.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004466/0.2974, allocations: 96.33 kB / 456.9 MB, free: 45.29 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 (7): * Single equations (assignments): 4 * 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.0004886/0.2979, allocations: 0.8021 MB / 457.7 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2983, allocations: 192.3 kB / 457.8 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2983, allocations: 1.75 kB / 457.8 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.2986, allocations: 98.2 kB / 457.9 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.2988, allocations: 11.02 kB / 458 MB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.3001, allocations: 1.218 MB / 459.2 MB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.3003, allocations: 0.8002 MB / 460 MB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000165/0.3004, allocations: 64.22 kB / 460 MB, free: 43.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.202e-05/0.3005, allocations: 76.97 kB / 460.1 MB, free: 43.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3005, allocations: 0 / 460.1 MB, free: 43.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/0.404, allocations: 4.842 MB / 465 MB, free: 42.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.4042, allocations: 289.8 kB / 465.2 MB, free: 42.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.203, allocations: 4 kB / 465.2 MB, free: 42.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat