Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0012/0.0012, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001396/0.001396, allocations: 212.3 kB / 24.53 MB, free: 4.07 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.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 46.94 MB / 361.7 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 59.91 kB / 0.497 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3222, allocations: 66.03 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003065/0.3253, allocations: 1.683 MB / 0.5631 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3269, allocations: 0.9316 MB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.3269, allocations: 4 kB / 0.564 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.3271, allocations: 27.83 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.3273, allocations: 59.73 kB / 0.5641 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3277, allocations: 135.5 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.3279, allocations: 139.3 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.328, allocations: 5.641 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.3281, allocations: 59.66 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3282, allocations: 71.67 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3282, allocations: 12 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.3286, allocations: 207.7 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.3287, allocations: 43.83 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.3288, allocations: 67.53 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3291, allocations: 237.2 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3291, allocations: 0 / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3291, allocations: 0 / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3291, allocations: 0 / 0.565 GB, free: 0.7734 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.0006292/0.3298, allocations: 409.4 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3298, allocations: 12.03 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.264e-05/0.3298, allocations: 192 / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.672e-05/0.3299, allocations: 50.73 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.331, allocations: 116.6 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.3313, allocations: 170.2 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3313, allocations: 12.38 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.3313, allocations: 12.38 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.332, allocations: 321.3 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.332, allocations: 0 / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3321, allocations: 8 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.3321, allocations: 27.91 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007915/0.3329, allocations: 315.7 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.3344, allocations: 0.8067 MB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.3351, allocations: 206.3 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.3354, allocations: 84.84 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3354, allocations: 7.984 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3354, allocations: 38.55 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.3354, allocations: 4 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001015/0.3364, allocations: 297.1 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.3365, allocations: 51.41 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.3367, allocations: 187.3 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3367, allocations: 25.7 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3368, allocations: 143.7 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.3369, allocations: 43.67 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.337, allocations: 53.62 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3371, allocations: 322.8 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.3374, allocations: 79.91 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3377, allocations: 138.8 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.3383, allocations: 222.6 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3383, allocations: 0 / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007511/0.3391, allocations: 269.2 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3391, allocations: 12.16 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3391, allocations: 7.984 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3391, allocations: 4 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.3396, allocations: 79.92 kB / 0.5694 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.3407, allocations: 1.789 MB / 0.5711 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.3409, allocations: 20.31 kB / 0.5711 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.341, allocations: 19.97 kB / 0.5712 GB, free: 10.13 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.0001745/0.3411, allocations: 138.3 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3412, allocations: 15.89 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.342, allocations: 262.7 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.342, allocations: 7.938 kB / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.342, allocations: 0 / 0.5716 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.342, allocations: 3.984 kB / 0.5716 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.3424, allocations: 236.5 kB / 0.5718 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3424, allocations: 7.938 kB / 0.5718 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.3427, allocations: 71.86 kB / 0.5719 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3427, allocations: 0 / 0.5719 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3428, allocations: 7.984 kB / 0.5719 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.3438, allocations: 1.785 MB / 0.5736 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3438, allocations: 0 / 0.5736 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.3446, allocations: 311.4 kB / 0.5739 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.3446, allocations: 19.91 kB / 0.5739 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.3447, allocations: 4 kB / 0.5739 GB, free: 7.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.3449, allocations: 11.98 kB / 0.574 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.3449, allocations: 15.97 kB / 0.574 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.345, allocations: 11.97 kB / 0.574 GB, free: 7.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3451, allocations: 137.8 kB / 0.5741 GB, free: 6.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3451, allocations: 0 / 0.5741 GB, free: 6.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.3455, allocations: 63.83 kB / 0.5742 GB, free: 6.895 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.001273/0.3467, allocations: 0.8723 MB / 0.575 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.3476, allocations: 231.6 kB / 0.5752 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3476, allocations: 0 / 0.5752 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.3481, allocations: 131.8 kB / 0.5754 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3484, allocations: 18.05 kB / 0.5754 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.3524, allocations: 2.344 MB / 0.5777 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3528, allocations: 0.7319 MB / 0.5784 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.353, allocations: 73.42 kB / 0.5785 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3531, allocations: 63.39 kB / 0.5785 GB, free: 2.266 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3531, allocations: 0 / 0.5785 GB, free: 2.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.3787, allocations: 4.999 MB / 0.5834 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.86, allocations: 4.766 kB / 0.5834 GB, free: 13.44 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.91079740197165] 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.043935152003542 13.073175521 12.738796828 Calling exit ...