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_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.001325/0.001325, 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.001528/0.001528, allocations: 212.2 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2223/0.2223, allocations: 44.92 MB / 359.6 MB, free: 6.277 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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002122/0.002122, allocations: 63.89 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 65.47 MB / 0.5578 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003196/0.3253, allocations: 1.81 MB / 0.5596 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.327, allocations: 1.029 MB / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.3271, allocations: 0 / 0.5606 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.3273, allocations: 47.73 kB / 0.5606 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.3275, allocations: 75.58 kB / 0.5607 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3279, allocations: 123.5 kB / 0.5608 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.3282, allocations: 218.8 kB / 0.561 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.509e-05/0.3283, allocations: 9.953 kB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.3284, allocations: 87.58 kB / 0.5611 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.3286, allocations: 111.5 kB / 0.5612 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3287, allocations: 4 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.329, allocations: 207.7 kB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3292, allocations: 67.69 kB / 0.5615 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3293, allocations: 91.36 kB / 0.5616 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.3298, allocations: 304.6 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3298, allocations: 3.938 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3298, allocations: 0 / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3298, allocations: 0 / 0.5619 GB, free: 3.582 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009176/0.3307, allocations: 485.3 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3308, allocations: 12.03 kB / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.044e-05/0.3308, allocations: 8.625 kB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.3309, allocations: 54.73 kB / 0.5624 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.3317, allocations: 132.6 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.3321, allocations: 206.1 kB / 0.5627 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3321, allocations: 12.81 kB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.3322, allocations: 23.94 kB / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.3329, allocations: 434.5 kB / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3329, allocations: 4 kB / 0.5632 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.3329, allocations: 8 kB / 0.5632 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.333, allocations: 32.42 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.3337, allocations: 389.6 kB / 0.5636 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.3359, allocations: 1.449 MB / 0.565 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.3361, allocations: 90.52 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3363, allocations: 48.91 kB / 0.5652 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.3363, allocations: 11.98 kB / 0.5652 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3364, allocations: 34.5 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3364, allocations: 0 / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006048/0.337, allocations: 185.4 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.337, allocations: 51.41 kB / 0.5654 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.3374, allocations: 333.8 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3374, allocations: 29.7 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.3375, allocations: 183.6 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3376, allocations: 27.78 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.3377, allocations: 41.66 kB / 0.566 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3378, allocations: 334.8 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.338, allocations: 67.94 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3382, allocations: 121.9 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.3386, allocations: 185.9 kB / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3386, allocations: 0 / 0.5667 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005192/0.3391, allocations: 245.2 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3392, allocations: 4.188 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3392, allocations: 4 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3392, allocations: 4 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3407, allocations: 107.9 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.3427, allocations: 1.848 MB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.343, allocations: 31.72 kB / 0.5689 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.343, allocations: 12 kB / 0.5689 GB, free: 12.02 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.0001749/0.3432, allocations: 165.8 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.3432, allocations: 19.86 kB / 0.5691 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.3437, allocations: 203.1 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3437, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3438, allocations: 0 / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3438, allocations: 3.984 kB / 0.5693 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.3441, allocations: 252.5 kB / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3441, allocations: 0 / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.3453, allocations: 91.88 kB / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3453, allocations: 0 / 0.5696 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3453, allocations: 7.984 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.3467, allocations: 1.789 MB / 0.5713 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3467, allocations: 3.938 kB / 0.5713 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.3472, allocations: 267.5 kB / 0.5716 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.24e-05/0.3473, allocations: 23.8 kB / 0.5716 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.3473, allocations: 7.984 kB / 0.5716 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.3475, allocations: 4 kB / 0.5716 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.3476, allocations: 11.98 kB / 0.5717 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3476, allocations: 4 kB / 0.5717 GB, free: 9.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000308/0.3479, allocations: 249.2 kB / 0.5719 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3479, allocations: 3.938 kB / 0.5719 GB, free: 8.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.3483, allocations: 63.95 kB / 0.572 GB, free: 8.734 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.001012/0.3493, allocations: 0.8099 MB / 0.5727 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002299/0.3516, allocations: 251.7 kB / 0.573 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3516, allocations: 0 / 0.573 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.3526, allocations: 107.8 kB / 0.5731 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.353, allocations: 34.97 kB / 0.5731 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3572, allocations: 2.939 MB / 0.576 GB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.3577, allocations: 0.7753 MB / 0.5768 GB, free: 3.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.3578, allocations: 54.19 kB / 0.5768 GB, free: 3.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.358, allocations: 71.41 kB / 0.5769 GB, free: 3.527 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.358, allocations: 0 / 0.5769 GB, free: 3.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3867, allocations: 7.987 MB / 0.5847 GB, free: 11.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.46, allocations: 8 kB / 0.5847 GB, free: 11.73 MB / 430.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_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_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.683726748044137] 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.632888548017945 13.658332752 13.323843051 Calling exit ...