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.001262/0.001262, 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.001695/0.001695, allocations: 214 kB / 24.52 MB, free: 3.914 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.2287/0.2287, allocations: 46.95 MB / 361.7 MB, free: 4.039 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.001909/0.001909, allocations: 71.89 kB / 0.4969 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3295, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003273/0.3328, allocations: 1.753 MB / 0.5631 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.3345, allocations: 0.9204 MB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.3346, allocations: 4 kB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3348, allocations: 55.67 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.335, allocations: 59.66 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3354, allocations: 127.5 kB / 0.5642 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.3356, allocations: 214.8 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.3357, allocations: 13.97 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3358, allocations: 95.5 kB / 0.5645 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.336, allocations: 99.53 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.336, allocations: 8 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.3363, allocations: 159.8 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3364, allocations: 59.67 kB / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3365, allocations: 79.48 kB / 0.5649 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.337, allocations: 292.5 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.337, allocations: 4 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.337, allocations: 3.938 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.337, allocations: 0 / 0.5652 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.0008244/0.3378, allocations: 477.3 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3378, allocations: 12.03 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.3379, allocations: 8.562 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.3379, allocations: 62.72 kB / 0.5657 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008587/0.3388, allocations: 128.6 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3391, allocations: 202.1 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3392, allocations: 24.75 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.3392, allocations: 23.94 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.3399, allocations: 430.6 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.34, allocations: 3.938 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.34, allocations: 8 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.004e-05/0.34, allocations: 24.48 kB / 0.5666 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.3408, allocations: 389.6 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3429, allocations: 1.256 MB / 0.5682 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3431, allocations: 86.52 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.3433, allocations: 56.69 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3433, allocations: 0 / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3433, allocations: 34.56 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3433, allocations: 8 kB / 0.5683 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005677/0.3439, allocations: 189.5 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.3439, allocations: 55.41 kB / 0.5686 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.3443, allocations: 329.8 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3443, allocations: 29.7 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3445, allocations: 179.6 kB / 0.5691 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.3445, allocations: 23.8 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.3446, allocations: 49.59 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3448, allocations: 338.8 kB / 0.5695 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.345, allocations: 71.88 kB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3452, allocations: 120.3 kB / 0.5697 GB, free: 11.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.3456, allocations: 185 kB / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3456, allocations: 0 / 0.5698 GB, free: 11.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005958/0.3461, allocations: 241.2 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3462, allocations: 4 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3462, allocations: 4 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3462, allocations: 4.188 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.3477, allocations: 119.8 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.35, allocations: 1.84 MB / 0.572 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3503, allocations: 36 kB / 0.572 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.3504, allocations: 16 kB / 0.572 GB, free: 8.953 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.0001813/0.3505, allocations: 157.7 kB / 0.5722 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3506, allocations: 23.8 kB / 0.5722 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.3511, allocations: 203.1 kB / 0.5724 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3511, allocations: 3.938 kB / 0.5724 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3511, allocations: 3.984 kB / 0.5724 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3512, allocations: 4 kB / 0.5724 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.3515, allocations: 228.6 kB / 0.5726 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3515, allocations: 0 / 0.5726 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.3527, allocations: 99.84 kB / 0.5727 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3527, allocations: 4 kB / 0.5727 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3527, allocations: 0 / 0.5727 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.3541, allocations: 1.797 MB / 0.5745 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3541, allocations: 0 / 0.5745 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.3546, allocations: 255.3 kB / 0.5747 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3547, allocations: 27.78 kB / 0.5748 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.3547, allocations: 0 / 0.5748 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3549, allocations: 8.281 kB / 0.5748 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.3549, allocations: 15.92 kB / 0.5748 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.355, allocations: 7.984 kB / 0.5748 GB, free: 5.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.3552, allocations: 241.2 kB / 0.575 GB, free: 5.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3552, allocations: 0 / 0.575 GB, free: 5.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.3556, allocations: 67.89 kB / 0.5751 GB, free: 5.688 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.0009572/0.3566, allocations: 0.8059 MB / 0.5759 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.3589, allocations: 259.8 kB / 0.5761 GB, free: 4.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.359, allocations: 4.125 kB / 0.5761 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.3599, allocations: 103.9 kB / 0.5762 GB, free: 4.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3604, allocations: 39.77 kB / 0.5763 GB, free: 4.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.3645, allocations: 2.913 MB / 0.5791 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.3647, allocations: 169.1 kB / 0.5793 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.3649, allocations: 58.2 kB / 0.5793 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3651, allocations: 71.41 kB / 0.5794 GB, free: 1.094 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3651, allocations: 0 / 0.5794 GB, free: 1.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3955, allocations: 8.874 MB / 0.5881 GB, free: 8.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.49, allocations: 16.2 kB / 0.5881 GB, free: 8.461 MB / 430.1 MB " [Timeout remaining time 646] (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.532587210997008] 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.676808526972309 13.705566667 13.363481555 Calling exit ...