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.001755/0.001755, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002088/0.002088, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.224/0.224, allocations: 46.96 MB / 361.7 MB, free: 4.059 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.001901/0.001901, allocations: 59.91 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.305, allocations: 66.04 MB / 0.5614 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003167/0.3082, allocations: 1.636 MB / 0.563 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3097, allocations: 0.85 MB / 0.5638 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3098, allocations: 4 kB / 0.5638 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.31, allocations: 27.84 kB / 0.5638 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3102, allocations: 51.73 kB / 0.5639 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.3106, allocations: 135 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3108, allocations: 147.3 kB / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.3109, allocations: 13.44 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.311, allocations: 55.72 kB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3111, allocations: 75.67 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3111, allocations: 4 kB / 0.5643 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003178/0.3115, allocations: 163.8 kB / 0.5645 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.3115, allocations: 39.84 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.3116, allocations: 47.67 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.312, allocations: 237 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.312, allocations: 4 kB / 0.5648 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.312, allocations: 0 / 0.5648 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.312, allocations: 3.938 kB / 0.5648 GB, free: 0.7773 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.000674/0.3127, allocations: 401.4 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3127, allocations: 8.031 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.815e-05/0.3127, allocations: 12.19 kB / 0.5652 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.3128, allocations: 50.73 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.314, allocations: 120.6 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3143, allocations: 170.2 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3143, allocations: 12.38 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.3143, allocations: 16.38 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.315, allocations: 321.2 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.315, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.315, allocations: 4 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.3151, allocations: 19.98 kB / 0.5659 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/0.3158, allocations: 315.7 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.3174, allocations: 0.625 MB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.3181, allocations: 218.3 kB / 0.567 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3184, allocations: 84.8 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3184, allocations: 0 / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3185, allocations: 38.56 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.3185, allocations: 0 / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.001054/0.3195, allocations: 297.3 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.3196, allocations: 55.78 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3198, allocations: 187.3 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3198, allocations: 25.7 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3199, allocations: 143.7 kB / 0.5678 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.32, allocations: 39.61 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3201, allocations: 53.64 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3203, allocations: 326.8 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.3205, allocations: 79.91 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.3209, allocations: 149.3 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.3215, allocations: 218.6 kB / 0.5686 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3215, allocations: 8 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007771/0.3223, allocations: 265.2 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3223, allocations: 7.938 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3223, allocations: 4 kB / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3224, allocations: 0 / 0.5689 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.3229, allocations: 88.08 kB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3241, allocations: 1.781 MB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.3243, allocations: 27.86 kB / 0.5707 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3243, allocations: 19.97 kB / 0.5707 GB, free: 10.35 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.0001491/0.3245, allocations: 142.3 kB / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3245, allocations: 11.89 kB / 0.5709 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008049/0.3253, allocations: 263.1 kB / 0.5711 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.3253, allocations: 3.938 kB / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3253, allocations: 0 / 0.5711 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3253, allocations: 4 kB / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3257, allocations: 232.5 kB / 0.5714 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3257, allocations: 7.938 kB / 0.5714 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.3261, allocations: 63.94 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3261, allocations: 0 / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3261, allocations: 15.97 kB / 0.5715 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.3273, allocations: 1.781 MB / 0.5732 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3273, allocations: 0 / 0.5732 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.3281, allocations: 319.5 kB / 0.5735 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.3281, allocations: 19.89 kB / 0.5735 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.3281, allocations: 0 / 0.5735 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3283, allocations: 7.984 kB / 0.5735 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.3284, allocations: 15.97 kB / 0.5735 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3284, allocations: 11.98 kB / 0.5736 GB, free: 7.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3286, allocations: 137.8 kB / 0.5737 GB, free: 7.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3286, allocations: 0 / 0.5737 GB, free: 7.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.3289, allocations: 67.81 kB / 0.5737 GB, free: 7.121 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.001232/0.3302, allocations: 0.8701 MB / 0.5746 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000869/0.331, allocations: 239.8 kB / 0.5748 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.331, allocations: 0 / 0.5748 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.3315, allocations: 131.8 kB / 0.575 GB, free: 5.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3318, allocations: 8 kB / 0.575 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.3357, allocations: 2.353 MB / 0.5773 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.3359, allocations: 122.6 kB / 0.5774 GB, free: 3.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.3361, allocations: 73.28 kB / 0.5774 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3362, allocations: 59.39 kB / 0.5775 GB, free: 3.113 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3362, allocations: 0 / 0.5775 GB, free: 3.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.3622, allocations: 5.11 MB / 0.5825 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.22, allocations: 2.438 kB / 0.5825 GB, free: 14.19 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: 16.244451234932058] 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.398131061927415 13.42315718 13.106612396 Calling exit ...