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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.0007821/0.000782, allocations: 88.19 kB / 15.7 MB, free: 460 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.0008808/0.0008808, allocations: 182.4 kB / 16.59 MB, free: 6.844 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.571/1.571, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.35/0.35, allocations: 43.55 MB / 314.6 MB, free: 9.004 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.0004636/0.0004636, allocations: 14.97 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.001692/0.1056, allocations: 1.505 MB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.1064, allocations: 0.5807 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.276e-05/0.1065, allocations: 0 / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1067, allocations: 43.73 kB / 445 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.1069, allocations: 63.66 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1071, allocations: 95.69 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1074, allocations: 258.7 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.1074, allocations: 28.28 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.1075, allocations: 87.58 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1077, allocations: 111.4 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.1077, allocations: 8 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.108, allocations: 219.7 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.1081, allocations: 47.77 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1081, allocations: 61.58 kB / 446 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.1084, allocations: 227.7 kB / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1084, allocations: 0 / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1084, allocations: 0 / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1084, allocations: 0 / 446.2 MB, free: 9.828 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005295/0.1089, allocations: 0.4913 MB / 446.7 MB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.109, allocations: 8.031 kB / 446.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.109, allocations: 66.53 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.1106, allocations: 203.4 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1108, allocations: 270.6 kB / 447.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1109, allocations: 20.56 kB / 447.3 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.1109, allocations: 20 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.1117, allocations: 0.5043 MB / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1118, allocations: 0 / 447.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.1118, allocations: 12 kB / 447.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.1118, allocations: 24.55 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1129, allocations: 0.5915 MB / 448.4 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1147, allocations: 1.173 MB / 449.6 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.1153, allocations: 178.4 kB / 449.8 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1156, allocations: 100.7 kB / 449.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1156, allocations: 0 / 449.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1157, allocations: 30.56 kB / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.1157, allocations: 0 / 449.9 MB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001023/0.1167, allocations: 317.1 kB / 450.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1167, allocations: 59.39 kB / 450.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.117, allocations: 270.6 kB / 450.5 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.117, allocations: 25.7 kB / 450.5 MB, free: 5.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.1171, allocations: 175.5 kB / 450.7 MB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1171, allocations: 31.73 kB / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.1172, allocations: 0 / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.1173, allocations: 334.8 kB / 451.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.1176, allocations: 95.84 kB / 451.2 MB, free: 4.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.1179, allocations: 123.3 kB / 451.3 MB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.1182, allocations: 103.9 kB / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1182, allocations: 0 / 451.4 MB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007223/0.119, allocations: 277.2 kB / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.119, allocations: 8 kB / 451.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.119, allocations: 0 / 451.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.119, allocations: 0 / 451.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00514/0.1242, allocations: 467.2 kB / 452.1 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.1265, allocations: 1.949 MB / 454.1 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.1269, allocations: 51.59 kB / 454.1 MB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1269, allocations: 7.984 kB / 454.1 MB, free: 1.555 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001424/0.1271, allocations: 157.7 kB / 454.3 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1271, allocations: 15.91 kB / 454.3 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.1272, allocations: 37.7 kB / 454.3 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1272, allocations: 0 / 454.3 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1272, allocations: 3.953 kB / 454.3 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1272, allocations: 3.984 kB / 454.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1275, allocations: 285.5 kB / 454.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1275, allocations: 3.984 kB / 454.6 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004964/0.1325, allocations: 459.2 kB / 455.1 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1325, allocations: 0 / 455.1 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1325, allocations: 7.984 kB / 455.1 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1797/0.3122, allocations: 1.941 MB / 457 MB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3123, allocations: 2.75 kB / 457 MB, free: 45.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.3129, allocations: 333 kB / 457.4 MB, free: 45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.313, allocations: 100.4 kB / 457.4 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.313, allocations: 7.625 kB / 457.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.3134, allocations: 20.83 kB / 457.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3134, allocations: 8.828 kB / 457.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3135, allocations: 6.641 kB / 457.5 MB, free: 44.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3136, allocations: 210 kB / 457.7 MB, free: 44.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3136, allocations: 0 / 457.7 MB, free: 44.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.314, allocations: 74.92 kB / 457.8 MB, free: 44.83 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.0008893/0.3148, allocations: 0.8657 MB / 458.6 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005172/0.32, allocations: 0.6045 MB / 459.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.32, allocations: 0 / 459.2 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00478/0.3248, allocations: 0.4987 MB / 459.7 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.3252, allocations: 35.34 kB / 459.8 MB, free: 44.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3279, allocations: 1.706 MB / 461.5 MB, free: 43.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.3281, allocations: 0.7715 MB / 462.3 MB, free: 42.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.3283, allocations: 58.28 kB / 462.3 MB, free: 42.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.3284, allocations: 66.64 kB / 462.4 MB, free: 42.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3284, allocations: 0 / 462.4 MB, free: 42.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.3462, allocations: 7.214 MB / 469.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/0.3464, allocations: 282.6 kB / 469.9 MB, free: 41.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.365, allocations: 0 / 469.9 MB, free: 41.97 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat