Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001865/0.001865, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002123/0.002123, allocations: 210.4 kB / 18.58 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2227/0.2227, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 77.72 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 62.46 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003204/0.1219, allocations: 1.661 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1236, allocations: 0.9074 MB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1237, allocations: 8 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1239, allocations: 31.83 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1241, allocations: 51.73 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1246, allocations: 135.5 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.1248, allocations: 131.4 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.1248, allocations: 21.44 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.1249, allocations: 59.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.1251, allocations: 67.69 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.1251, allocations: 4 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003871/0.1255, allocations: 211.6 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.1256, allocations: 35.83 kB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.1256, allocations: 63.61 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.126, allocations: 239.5 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.126, allocations: 0 / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.126, allocations: 0 / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1261, allocations: 0 / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007232/0.1268, allocations: 478.8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1268, allocations: 12.03 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.1269, allocations: 46.73 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.1281, allocations: 120.5 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1284, allocations: 228 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1284, allocations: 12.36 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1285, allocations: 12.38 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/0.1292, allocations: 322.5 kB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1292, allocations: 0 / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1292, allocations: 4 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.1293, allocations: 27.97 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.1302, allocations: 327.6 kB / 485.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1318, allocations: 0.8181 MB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.1325, allocations: 214.3 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.1329, allocations: 88.8 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1329, allocations: 4 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1329, allocations: 38.59 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.1329, allocations: 0 / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001094/0.134, allocations: 297.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.1341, allocations: 51.41 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1343, allocations: 191.2 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.1344, allocations: 29.64 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.1345, allocations: 139.6 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1345, allocations: 39.39 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1346, allocations: 53.67 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1348, allocations: 326.8 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1351, allocations: 79.91 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1355, allocations: 134.8 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.1362, allocations: 230.9 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1362, allocations: 4 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007979/0.137, allocations: 265.1 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.137, allocations: 4 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.137, allocations: 7.938 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1371, allocations: 8 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.1375, allocations: 88.08 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.1387, allocations: 1.789 MB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1389, allocations: 19.83 kB / 490.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.139, allocations: 15.98 kB / 490.3 MB, free: 10.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.1391, allocations: 141.8 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1392, allocations: 19.75 kB / 490.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008888/0.1401, allocations: 262.9 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1401, allocations: 4 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1401, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1401, allocations: 0 / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1405, allocations: 253.5 kB / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1405, allocations: 0 / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.1408, allocations: 71.86 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.1409, allocations: 4 kB / 491 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.1409, allocations: 11.92 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.142, allocations: 1.785 MB / 492.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.142, allocations: 0 / 492.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007743/0.1428, allocations: 319.1 kB / 493.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1429, allocations: 93 kB / 493.2 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/0.1429, allocations: 3.984 kB / 493.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.1431, allocations: 16.02 kB / 493.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.1432, allocations: 15.98 kB / 493.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.1432, allocations: 11.97 kB / 493.3 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1434, allocations: 135.9 kB / 493.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1434, allocations: 0 / 493.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.1438, allocations: 63.84 kB / 493.5 MB, free: 7.281 MB / 366.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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.145, allocations: 0.8722 MB / 494.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009224/0.146, allocations: 247.6 kB / 494.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.146, allocations: 0 / 494.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.1465, allocations: 132.2 kB / 494.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1468, allocations: 12 kB / 494.7 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.1507, allocations: 2.34 MB / 497.1 MB, free: 3.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1512, allocations: 0.7319 MB / 497.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.1514, allocations: 65.03 kB / 497.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.1516, allocations: 59.39 kB / 497.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1516, allocations: 0 / 497.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.1829, allocations: 4.79 MB / 0.4909 GB, free: 14.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.81, allocations: 21.33 kB / 0.4909 GB, free: 14.08 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)