Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 105.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 214.9 kB / 24.51 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2882/0.2882, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 0.4938 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003111/0.3395, allocations: 1.649 MB / 0.5594 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.341, allocations: 0.8345 MB / 0.5602 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.3411, allocations: 0 / 0.5602 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3413, allocations: 39.78 kB / 0.5602 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.3415, allocations: 55.72 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.342, allocations: 135.5 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.3423, allocations: 135.4 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.3423, allocations: 13.42 kB / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.3424, allocations: 55.78 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.3426, allocations: 75.61 kB / 0.5607 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.3426, allocations: 8 kB / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.3429, allocations: 167.7 kB / 0.5608 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.343, allocations: 35.89 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.3431, allocations: 55.66 kB / 0.5609 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.3435, allocations: 225.1 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3435, allocations: 0 / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3435, allocations: 0 / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3435, allocations: 3.938 kB / 0.5611 GB, free: 4.059 MB / 398.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.0006873/0.3442, allocations: 413.3 kB / 0.5615 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3443, allocations: 12.03 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.03e-05/0.3443, allocations: 4.188 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.3443, allocations: 46.73 kB / 0.5616 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3456, allocations: 116.6 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3459, allocations: 174.2 kB / 0.5619 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.3459, allocations: 12.36 kB / 0.5619 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.3459, allocations: 12.38 kB / 0.5619 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.3467, allocations: 325.2 kB / 0.5622 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3467, allocations: 3.938 kB / 0.5622 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.3467, allocations: 4 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.3468, allocations: 23.98 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008241/0.3476, allocations: 319.6 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3491, allocations: 0.6133 MB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.3498, allocations: 218.3 kB / 0.5633 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.3501, allocations: 84.75 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.3501, allocations: 8.031 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3502, allocations: 34.56 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.3502, allocations: 0 / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001073/0.3513, allocations: 297.2 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3513, allocations: 51.41 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.3515, allocations: 191.3 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3515, allocations: 25.7 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3516, allocations: 143.7 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.3517, allocations: 39.66 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3518, allocations: 53.62 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3519, allocations: 326.8 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.3522, allocations: 83.89 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.3526, allocations: 137 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.3532, allocations: 226.9 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3532, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008196/0.3541, allocations: 269.2 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3541, allocations: 11.94 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3541, allocations: 0 / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3541, allocations: 11.92 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.3546, allocations: 79.92 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3558, allocations: 1.786 MB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.356, allocations: 31.8 kB / 0.5671 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.356, allocations: 11.98 kB / 0.5671 GB, free: 13.62 MB / 414.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.0001828/0.3562, allocations: 142.3 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.3563, allocations: 15.88 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008456/0.3571, allocations: 267 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3571, allocations: 0 / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3571, allocations: 0 / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3571, allocations: 0 / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3575, allocations: 220.6 kB / 0.5677 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3575, allocations: 3.938 kB / 0.5677 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.3579, allocations: 71.86 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3579, allocations: 7.938 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3579, allocations: 15.98 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.359, allocations: 1.777 MB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.359, allocations: 0 / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007524/0.3597, allocations: 327.2 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.3598, allocations: 16.17 kB / 0.5699 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3598, allocations: 4 kB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.36, allocations: 11.98 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.3601, allocations: 11.97 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3601, allocations: 7.984 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3602, allocations: 141.8 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3602, allocations: 0 / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.3606, allocations: 59.83 kB / 0.5701 GB, free: 10.4 MB / 414.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.001203/0.3618, allocations: 0.8777 MB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.3627, allocations: 232.1 kB / 0.5712 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3627, allocations: 4 kB / 0.5712 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000492/0.3632, allocations: 131.8 kB / 0.5713 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3635, allocations: 12.56 kB / 0.5713 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.3674, allocations: 2.349 MB / 0.5736 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3676, allocations: 122.6 kB / 0.5737 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.3678, allocations: 73.02 kB / 0.5738 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3679, allocations: 55.39 kB / 0.5739 GB, free: 6.391 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3679, allocations: 0 / 0.5739 GB, free: 6.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.3944, allocations: 5.117 MB / 0.5789 GB, free: 1.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.45, allocations: 4.312 kB / 0.5789 GB, free: 1.465 MB / 414.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.60069992498029] Failed to read output from testmodel.py, exit status != 0: ['time', 'V_flow[1]', 'V_flow[2]', 'V_flow[3]', 'a[1]', 'a[2]', 'a[3]', 'rho', 'input_mdot[1]', 'input_mdot[2]', 'input_mdot[3]', 'input_dp[1]', 'input_dp[2]', 'input_dp[3]', 'M_FLOW[1]', 'M_FLOW[2]', 'M_FLOW[3]', 'DP[1]', 'DP[2]', 'DP[3]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'input_DP.y'] 13.623706070007756 13.639988335 13.29342703 Calling exit ...