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_idealGas_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.001272/0.001272, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001389/0.001389, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.2393/0.2393, allocations: 46.94 MB / 361.7 MB, free: 4.27 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 75.89 kB / 0.497 GB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3152, allocations: 66.04 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003089/0.3183, allocations: 1.808 MB / 0.5632 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.3199, allocations: 1.021 MB / 0.5642 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.32, allocations: 4 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3202, allocations: 59.66 kB / 0.5643 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002098/0.3204, allocations: 59.66 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.3208, allocations: 127.5 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.321, allocations: 222.8 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3211, allocations: 9.953 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3212, allocations: 87.53 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.3214, allocations: 107.5 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.3214, allocations: 8 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.3218, allocations: 211.7 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.3219, allocations: 55.69 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.322, allocations: 91.42 kB / 0.5652 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.3224, allocations: 320.4 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3224, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3224, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3224, allocations: 0 / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008116/0.3232, allocations: 473.3 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3233, allocations: 8.031 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.958e-05/0.3233, allocations: 4.625 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.44e-05/0.3234, allocations: 62.72 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000851/0.3242, allocations: 136.6 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3245, allocations: 202.1 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3246, allocations: 20.81 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.3246, allocations: 23.92 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.3253, allocations: 430.5 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.3253, allocations: 0 / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3254, allocations: 15.98 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/0.3254, allocations: 24.48 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.3261, allocations: 389.6 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.3283, allocations: 1.453 MB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.3285, allocations: 90.45 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3287, allocations: 48.75 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3287, allocations: 3.984 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.3287, allocations: 38.56 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3287, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005972/0.3293, allocations: 189.5 kB / 0.569 GB, free: 12.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3294, allocations: 59.41 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.3298, allocations: 325.8 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3298, allocations: 33.64 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.3299, allocations: 179.6 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.33, allocations: 23.8 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.195e-05/0.33, allocations: 49.66 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3302, allocations: 334.8 kB / 0.57 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.3304, allocations: 67.94 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.3306, allocations: 113.9 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.331, allocations: 189.8 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.331, allocations: 4 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005189/0.3315, allocations: 237.2 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3316, allocations: 10.81 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3316, allocations: 0 / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3316, allocations: 4 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.3331, allocations: 124 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3351, allocations: 1.836 MB / 0.5725 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.3354, allocations: 39.75 kB / 0.5725 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3354, allocations: 4 kB / 0.5725 GB, free: 8.734 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001825/0.3356, allocations: 165.6 kB / 0.5727 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3356, allocations: 19.86 kB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.3362, allocations: 195.3 kB / 0.5729 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3362, allocations: 7.938 kB / 0.5729 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3362, allocations: 4 kB / 0.5729 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3362, allocations: 3.984 kB / 0.5729 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.3365, allocations: 252.5 kB / 0.5731 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3365, allocations: 0 / 0.5731 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.3377, allocations: 103.8 kB / 0.5732 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3377, allocations: 0 / 0.5732 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3377, allocations: 4 kB / 0.5732 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.3391, allocations: 1.789 MB / 0.575 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3391, allocations: 0 / 0.575 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.3396, allocations: 267.5 kB / 0.5752 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.3397, allocations: 27.78 kB / 0.5753 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3397, allocations: 0 / 0.5753 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3399, allocations: 8 kB / 0.5753 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.34, allocations: 11.92 kB / 0.5753 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.34, allocations: 4 kB / 0.5753 GB, free: 5.746 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003505/0.3403, allocations: 241.2 kB / 0.5755 GB, free: 5.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3403, allocations: 0 / 0.5755 GB, free: 5.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003617/0.3407, allocations: 63.95 kB / 0.5756 GB, free: 5.449 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 (11): * Single equations (assignments): 8 * 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.0009378/0.3416, allocations: 0.8098 MB / 0.5764 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.3439, allocations: 251.1 kB / 0.5766 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3439, allocations: 0 / 0.5766 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.3448, allocations: 116.2 kB / 0.5767 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3452, allocations: 44.89 kB / 0.5768 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3493, allocations: 2.923 MB / 0.5796 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3497, allocations: 0.783 MB / 0.5804 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000143/0.3498, allocations: 50.27 kB / 0.5804 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3499, allocations: 71.41 kB / 0.5805 GB, free: 236 kB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3499, allocations: 0 / 0.5805 GB, free: 236 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.3797, allocations: 7.989 MB / 0.5883 GB, free: 8.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.24, allocations: 12.05 kB / 0.5883 GB, free: 8.43 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.301682684978005] Failed to read output from testmodel.py, exit status != 0: ['time', 'frac_KmToRs[1]', 'frac_KmToRs[2]', 'frac_KmToRs[3]', 'dp_nom[1]', 'dp_nom[2]', 'dp_nom[3]', 'p_2[1]', 'p_2[2]', 'p_2[3]', 'm_flow_nom[1]', 'm_flow_nom[2]', 'm_flow_nom[3]', 'Km[1]', 'Km[2]', 'Km[3]', '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.414313979970757 13.440733255 13.113547058 Calling exit ...