Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.95 MB / 361.6 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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.002178/0.002178, allocations: 79.88 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 66.07 MB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002989/0.3027, allocations: 1.772 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3042, allocations: 0.9164 MB / 0.5641 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.3043, allocations: 4 kB / 0.5641 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3045, allocations: 51.69 kB / 0.5641 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.3047, allocations: 67.64 kB / 0.5642 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.305, allocations: 123.5 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.3053, allocations: 222.8 kB / 0.5645 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.3053, allocations: 5.969 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3054, allocations: 91.52 kB / 0.5646 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3056, allocations: 103.5 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.3056, allocations: 8 kB / 0.5647 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.3059, allocations: 163.8 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.306, allocations: 59.69 kB / 0.5649 GB, free: 456 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.3061, allocations: 75.48 kB / 0.565 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.3065, allocations: 292.5 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3065, allocations: 0 / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3065, allocations: 0 / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3065, allocations: 4 kB / 0.5653 GB, free: 84 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.0007753/0.3073, allocations: 477.5 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3073, allocations: 16.03 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.3073, allocations: 4.625 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.3074, allocations: 58.73 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.3082, allocations: 136.5 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.3085, allocations: 204.9 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3085, allocations: 20.81 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.3086, allocations: 23.88 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.3093, allocations: 430.6 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3093, allocations: 3.938 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3093, allocations: 11.98 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3094, allocations: 28.48 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.31, allocations: 389.6 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.3119, allocations: 1.244 MB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3122, allocations: 98.5 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.3123, allocations: 56.69 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3123, allocations: 0 / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3124, allocations: 34.56 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3124, allocations: 3.938 kB / 0.5684 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005501/0.3129, allocations: 181.4 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.313, allocations: 55.41 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.3133, allocations: 329.8 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3133, allocations: 29.7 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3135, allocations: 183.7 kB / 0.5692 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3135, allocations: 27.78 kB / 0.5692 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/0.3136, allocations: 45.66 kB / 0.5692 GB, free: 11.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3137, allocations: 334.8 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3139, allocations: 71.88 kB / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3141, allocations: 114 kB / 0.5697 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.3145, allocations: 185.8 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3145, allocations: 0 / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004995/0.315, allocations: 245.2 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.315, allocations: 10.28 kB / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.315, allocations: 4 kB / 0.5702 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.315, allocations: 4 kB / 0.5702 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.3165, allocations: 115.8 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.3186, allocations: 1.844 MB / 0.5721 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.3189, allocations: 31.73 kB / 0.5721 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.3189, allocations: 11.98 kB / 0.5721 GB, free: 8.754 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.0001767/0.3191, allocations: 159 kB / 0.5723 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3191, allocations: 23.86 kB / 0.5723 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.3196, allocations: 199.4 kB / 0.5725 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3196, allocations: 0 / 0.5725 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3196, allocations: 4 kB / 0.5725 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3196, allocations: 4 kB / 0.5725 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.32, allocations: 236.5 kB / 0.5727 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.32, allocations: 4 kB / 0.5727 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.3211, allocations: 95.88 kB / 0.5728 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3211, allocations: 3.938 kB / 0.5728 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3211, allocations: 0 / 0.5728 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.3225, allocations: 1.793 MB / 0.5746 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3225, allocations: 288 / 0.5746 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.3229, allocations: 259.3 kB / 0.5748 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.323, allocations: 27.84 kB / 0.5748 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.323, allocations: 4 kB / 0.5748 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.3232, allocations: 7.984 kB / 0.5748 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.3233, allocations: 7.984 kB / 0.5749 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3233, allocations: 4 kB / 0.5749 GB, free: 5.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3235, allocations: 245.2 kB / 0.5751 GB, free: 5.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3235, allocations: 0 / 0.5751 GB, free: 5.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.3239, allocations: 71.89 kB / 0.5752 GB, free: 5.488 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.0008779/0.3248, allocations: 0.8097 MB / 0.576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.327, allocations: 255.5 kB / 0.5762 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.327, allocations: 0 / 0.5762 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009611/0.328, allocations: 103.9 kB / 0.5763 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3284, allocations: 41.58 kB / 0.5763 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.3322, allocations: 2.913 MB / 0.5792 GB, free: 1.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3324, allocations: 173.1 kB / 0.5793 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.3326, allocations: 58.19 kB / 0.5794 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3327, allocations: 71.41 kB / 0.5795 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3327, allocations: 0 / 0.5795 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3639, allocations: 8.867 MB / 0.5881 GB, free: 8.227 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.11, allocations: 8 kB / 0.5881 GB, free: 8.219 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.106095656985417] 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.282973024994135 13.313469851 13.001348262 Calling exit ...